summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-21 10:55:34 +0800
committerTat-Chee Wan (USM)2011-03-21 10:55:34 +0800
commit578d4edc66d62165e40be7aec45b09e48554ee0e (patch)
tree05cfd0643c17494cf4ed2cd58c3a58ffe4d06f30
parent3090f0d215427af30264b183be9165fdeee88c91 (diff)
should be mov not moveq when copying numbytes to register r4
-rw-r--r--Debugger/debug_stub.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S
index 0e92667..168fd80 100644
--- a/Debugger/debug_stub.S
+++ b/Debugger/debug_stub.S
@@ -907,7 +907,7 @@ _dbg__cmd_WriteMem:
bne __dbg__procCmdParamError /* Number of bytes does not match argument length */
cmp r0, #CMD_MEM_MAXWRITEBYTES /* Don't overflow our buffer (2 x CMD_MEM_MAXWRITEBYTES) */
bhi __dbg__procCmdReturnInputLengthError /* Requested Length greater than buffer size, return error */
- moveq r4, r0 /* Keep numbytes in R4 */
+ mov r4, r0 /* Keep numbytes in R4 */
/* FIXME: Should validate the address? */
_check_msgargument r1
bne __dbg__procCmdParamError /* Can't find ':' */