OPERATING INSTRUCTIONS
4-16
M68HC11EVB/D
CALL
CALL
4.6.6
Call
CALL [<address>]
where:
<address>
The starting address where user program subroutine execution begins.
The CALL command allows the user to execute a user program subroutine. 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 return from interrupt (RTI) is issued so that the
first unmatched return from subroutine (RTS) encountered will return control back to the monitor
program. Thus any user program subroutine can be called and executed via the monitor program.
Program execution continues until a breakpoint is encountered, or the EVB reset switch S1 is
activated (pressed).
Example program for CALL, G, and P command examples
>ASM C000<CR>
C000 STX $FFFF
>LDAA #44<CR>
86 44
C002 STX $FFFF
>STAA C7FC<CR>
B7 C7 FC
C005 STX $FFFF
>NOP<CR>
01
C006 STX $FFFF
>NOP<CR>
01
C007 STX $FFFF
>NOP<CR>
01
C008 STX $FFFF
>RTS<CR>
39
C009 STX $FFFF
>(CTRL)A
Содержание M68HC11EVB
Страница 9: ...CONTENTS x M68HC11EVB D ...
Страница 35: ...MONITOR PROGRAM 3 8 M68HC11EVB D ...
Страница 81: ...OPERATING INSTRUCTIONS 4 46 M68HC11EVB D ...
Страница 97: ...SUPPORT INFORMATION 6 12 M68HC11EVB D Figure 6 3 EVB Schematic Diagram Sheet 2 of 2 ...
Страница 103: ...APPLICATIONS B 2 M68HC11EVB D Figure B 1 Single Chip Mode Configuration ...