summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Debugger/debug_comm.S
diff options
context:
space:
mode:
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'