aboutsummaryrefslogtreecommitdiff
path: root/Debugger
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-07-06 15:32:01 +0800
committerTat-Chee Wan (USM)2011-07-06 15:32:01 +0800
commitb544c4b06db299df82275e20bed9b313cbd61e01 (patch)
tree47839aca7d1d31f14df28822c77ff63d8cd197de /Debugger
parent4a7632650397fa87a5a962bb9e2a02f26099229e (diff)
fix syntax errors
Diffstat (limited to 'Debugger')
-rw-r--r--Debugger/debug_opcodes.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/Debugger/debug_opcodes.S b/Debugger/debug_opcodes.S
index d43991d..fbdd7db 100644
--- a/Debugger/debug_opcodes.S
+++ b/Debugger/debug_opcodes.S
@@ -917,8 +917,8 @@ _cond_andor:
*
*/
_dbg_cond_simple_checks:
- xor r2, r5, #NIBBLE0 /* R2: CondClr[3:0] = Invert CPSR[3:0] */
- orr r2, r2, r5 lsl #4 /* R2: CondSet[7:4] | CondClr[3:0] */
+ eor r2, r5, #NIBBLE0 /* R2: CondClr[3:0] = Invert CPSR[3:0] */
+ orr r2, r2, r5, lsl #4 /* R2: CondSet[7:4] | CondClr[3:0] */
and r2, r2, r1 /* R2: CondSetClr[7:0] & Bitmask */
teq r2, r1 /* ((cond_code & SetBitMask) == SetBitMask)? */
movne r0, #FALSE /* Not equal, check failed */