From db794b0fb270d533b97d54094b855c2da1377a16 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 12 Jul 2011 09:00:29 +0800 Subject: fix loop logic in arm test routine --- Debugger/debug_test.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Debugger/debug_test.S b/Debugger/debug_test.S index a4082a5..10afc57 100644 --- a/Debugger/debug_test.S +++ b/Debugger/debug_test.S @@ -55,9 +55,9 @@ test_arm_1: test_arm_2: sub r0, r0, #1 cmp r0, #5 - bgt test_arm_1 - ldrle pc, =test_arm_2 - ldr pc, =test_arm_1 + bgt test_arm_3 + ldrle pc, =test_arm_1 + ldr pc, =exit_dbg__test_arm_instrstep test_arm_3: sub r0, r0, #1 -- cgit v1.2.3