From 96ef68af99df49cce5ea2c52e7916e375f610df9 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 12 Jul 2011 07:36:12 +0800 Subject: updated thumb test case compare limits to shorten single stepping duration --- Debugger/debug_test.S | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Debugger/debug_test.S b/Debugger/debug_test.S index 10600ec..7f74b17 100644 --- a/Debugger/debug_test.S +++ b/Debugger/debug_test.S @@ -60,7 +60,6 @@ test_arm_2: ldr pc, =test_arm_1 test_arm_3: - /* case for r0 == 9 */ sub r0, r0, #1 teq r0, #8 beq test_arm_1 @@ -129,10 +128,9 @@ test_thumb_2: b test_thumb_1 test_thumb_3: - /* case for r0 == 9 */ sub r0, #1 - cmp r0, #5 - beq load_test_thumb_1 + cmp r0, #B + blo load_test_thumb_1 ldr r2, =test_thumb_3+1 /* Need to set Thumb bit */ b exit_test_thumb_3 load_test_thumb_1: -- cgit v1.2.3