summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Debugger/debug_comm.S
diff options
context:
space:
mode:
authorTC Wan2010-11-30 13:24:12 +0800
committerTC Wan2010-12-01 13:40:09 +0800
commite77f061f50a25ac3dcbfb245f4c61fde2e7505ed (patch)
treef654f88ca55da11d93915c9e9f41c6273e8300e0 /AT91SAM7S256/Debugger/debug_comm.S
parentb5a5c69833107e68e7f612702d90870a681a63fb (diff)
initial get register handler
Implemented Get Register Handler
Diffstat (limited to 'AT91SAM7S256/Debugger/debug_comm.S')
-rw-r--r--AT91SAM7S256/Debugger/debug_comm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/AT91SAM7S256/Debugger/debug_comm.S b/AT91SAM7S256/Debugger/debug_comm.S
index d6eaaa8..af69391 100644
--- a/AT91SAM7S256/Debugger/debug_comm.S
+++ b/AT91SAM7S256/Debugger/debug_comm.S
@@ -89,7 +89,7 @@ hex2char_lut:
hex2char:
stmfd sp!, {r1,lr}
- and r0, #0x000F /* make sure that input is sane */
+ and r0, #NIBBLE0 /* make sure that input is sane */
_hex2char r0, r1
ldmfd sp!, {r1,pc}
@@ -100,7 +100,7 @@ hex2char:
.global char2hex
char2hex:
- and r0, #0x00FF /* make sure that input is sane */
+ and r0, #BYTE0 /* make sure that input is sane */
cmp r0, #'0'
blo exit_char2hex
cmp r0, #'F'