Download Print this page

Intel EV80Cl96KB User Manual page 109

Microcontroller evaluation board

Advertisement

;
Hit the space bar to continue...
>;
>halt
*dasm .loop,9
;
I LOOP:
; 2095: C61ElC
I
STB
AL, [=I
; 2098: 9AlFlC
I
CMPB
AL, [lE]+
; 209B: D71C
I
JNE
FAILED
;
I HERE:
; 209D: 382204
I
JBS
22,00,
BACK
; 20AO: 171C
I
INCB
AL
; iOA2: 2002
I
SJMP
PAST
;
I BACK:
; 20A4: 151C
I
DECB
AL
;
1 PAST:
; 20A6: 8900801E
I
CMP
BX,#8000
; 2OAA:
D7E9
I
JNE
LOOP
*pause
;
Hit the space bar to continue...
*;
*go from 2080 till 20a6 ; This go command sets a breakpo
*pause
;
Hit the space bar to continue...
*;
int [Ol = 20a6H.
*pc ;
Code has stopped at the breakpoint!
Note that 20a6 has not executed
yet.
;
PC=PAST
*pause
;
Hit the space bar to continue...
*;
+br ; This command displays all breakpoints, 20a6 has been set.
BREAKPOINT[O] = PAST
+oause
Hit the space bar to continue...
l
.
+br'Cij=O ; This command clears breakpoint[O].
*oause
;
Hit the space bar to continue...
*:
*br : As can be shown.
;
NC BREAKPOINTS ARE ACTIVE
*pause
;
Hit the space bar to continue...
*. I
*br[Of]=20a6 ; This command sets breakpoint[l5] = 20a6.
*pause
;
Hit the space bar to continue...
*;
*br ; See?
;
BREAKPOINT[15]= PAST
*pause

Advertisement

loading