summaryrefslogtreecommitdiff
path: root/Debugger/debug_macros.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-04-01 18:26:23 +0800
committerTat-Chee Wan (USM)2011-04-01 18:26:23 +0800
commite1e682a8fc5bc7a297fd4544dc7549cd87657f71 (patch)
tree093529d878899ed2a03d95bfb3e53e1e7ad9e108 /Debugger/debug_macros.h
parent1783911a091554b2fec8acbf10f46a3e6fb02575 (diff)
work in progress to support instruction stepping
Diffstat (limited to 'Debugger/debug_macros.h')
-rw-r--r--Debugger/debug_macros.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Debugger/debug_macros.h b/Debugger/debug_macros.h
index e71d9ca..9e7de58 100644
--- a/Debugger/debug_macros.h
+++ b/Debugger/debug_macros.h
@@ -247,8 +247,7 @@
* indexreg contains debugger stack index value (0-max index)
*/
.macro _regenum2index indexenum, indexreg
- mov \indexreg, #indexenum
- add \indexreg, \indexreg, #DBGSTACK_USERREG_INDEX /* Convert register index to Debug Stack index, keep in R1 */
+ add \indexreg, \indexenum, #DBGSTACK_USERREG_INDEX /* Convert register index to Debug Stack index */
.endm
/* _getdbgregisterfromindex