changeset 412:beb15f1065e6

- comments cleanup
author Tassilo Philipp
date Thu, 07 Oct 2021 09:31:54 +0200
parents 49bc10c99462
children d73dc7ad37e4
files dyncallback/dyncall_thunk_arm32.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/dyncallback/dyncall_thunk_arm32.c	Tue Oct 05 22:06:37 2021 +0200
+++ b/dyncallback/dyncall_thunk_arm32.c	Thu Oct 07 09:31:54 2021 +0200
@@ -6,7 +6,7 @@
  Description: Thunk - Implementation for ARM32 (ARM and THUMB mode)
  License:
 
-   Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>,
+   Copyright (c) 2007-2021 Daniel Adler <dadler@uni-goettingen.de>,
                            Tassilo Philipp <tphilipp@potion-studios.com>
 
    Permission to use, copy, modify, and distribute this software for any
@@ -33,15 +33,15 @@
   /*
     # ARM32 (ARM mode) thunk code:
     .code 32
-      sub %r12, %r15, #8
-      ldr %r15, [%r15, #-4]
+      sub r12, r15, #8
+      ldr r15, [r15, #-4]
   */
 
   /* This code stores a ptr to DCCallback in r12 (equals ptr to thunk,     */
   /* which is PC (r15) minus 8, as PC points to current instruction+8.     */
   /* Then it loads the callback 'entry' into PC. The -4 is needed, also bc */
   /* of the PC pointing ahead.                                             */
-  p->code[0]  = 0xe24fc008UL;  /* sub %r12, %r15, #8 */
-  p->code[1]  = 0xe51ff004UL;  /* ldr %r15, [%r15, #-4] */
+  p->code[0]  = 0xe24fc008UL;  /* sub r12, r15, #8 */
+  p->code[1]  = 0xe51ff004UL;  /* ldr r15, [r15, #-4] */
   p->entry = entry;
 }