aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_macros.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-15 09:31:01 +0800
committerTat-Chee Wan (USM)2011-03-15 09:31:01 +0800
commit00a0b7a3fffa6664d1a71b6feec795d50cbffb44 (patch)
treea0e6983de4127f4d5655454246ddd1753e7da0c9 /AT91SAM7S256/armdebug/Debugger/debug_macros.h
parentaa10f35b0d56f1f84c4d486d480a66ec2df316f4 (diff)
parentc5537648e1378aed86b32488f83bd86e4a3f55ff (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/Debugger/debug_macros.h')
-rw-r--r--AT91SAM7S256/armdebug/Debugger/debug_macros.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/AT91SAM7S256/armdebug/Debugger/debug_macros.h b/AT91SAM7S256/armdebug/Debugger/debug_macros.h
index 2c6c6e7..dc1efba 100644
--- a/AT91SAM7S256/armdebug/Debugger/debug_macros.h
+++ b/AT91SAM7S256/armdebug/Debugger/debug_macros.h
@@ -159,11 +159,10 @@
* R3: destroyed
*/
.macro _dbg_outputMsgStatusErr
- mov r3, r0
+ mov r1, r0
ldr r0, =debug_OutMsgBuf
- ldr r1, =debug_ErrorResponsePrefix
- _dbg_stpcpy r0, r1, r2
- mov r1, r3
+ ldr r2, =debug_ErrorResponsePrefix
+ _dbg_stpcpy r0, r2, r3
bl byte2ascii /* R0 points to buffer position after byte value */
_asciiz r0, r1
.endm