OPERATING INSTRUCTIONS
M68HC11EVBU/D
4-17
CALL
Execute Subroutine
4.6.6
Execute Subroutine
CALL [<address>]
where:
<address>
the starting address where user subroutine begins.
The CALL command allows the user to execute a user subroutine program. Execution starts at
the current program counter (PC) address location, unless a starting address is specified. Two
extra bytes are placed onto the stack before the BUFFALO monitor calls the subroutine so that
the first unmatched return from subroutine (RTS) encountered will return control back to the
monitor program. Thus any user subroutine can be called and executed via the monitor program.
Program execution continues until an unmatched RTS is encountered, a breakpoint is
encountered, or the EVBU reset switch S1 is activated (pressed).
EXAMPLE PROGRAM: for CALL, G, P, and STOPAT command examples
>ASM 0100<CR>
0100 STX $FFFF >LDAA #44<CR>
86 44
0102 STX $FFFF >STAA 01FC<CR>
B7 01 FC
0105 STX $FFFF >NOP<CR>
01
0106 STX $FFFF >NOP<CR>
01
0107 STX $FFFF >NOP<CR>
01
0108 STX $FFFF >RTS<CR>
39
0109 STX $FFFF >(CTRL)A
Содержание M68HC11EVBD
Страница 4: ......
Страница 92: ...HARDWARE DESCRIPTION 5 4 M68HC11EVBU D ...
Страница 101: ...SUPPORT INFORMATION M68HC11EVBU D 6 9 Figure 6 2 EVBU Schematic Diagram Sheet 1 of 3 ...
Страница 102: ...SUPPORT INFORMATION 6 10 M68HC11EVBU D ...
Страница 103: ...SUPPORT INFORMATION M68HC11EVBU D 6 11 Figure 6 2 EVBU Schematic Diagram Sheet 2 of 3 ...
Страница 104: ...SUPPORT INFORMATION 6 12 M68HC11EVBU D ...
Страница 105: ...SUPPORT INFORMATION M68HC11EVBU D 6 13 Figure 6 2 EVBU Schematic Diagram Sheet 3 of 3 ...
Страница 106: ...SUPPORT INFORMATION 6 14 M68HC11EVBU D ...