MONITOR PROGRAM
M68HC11EVBU/D
3-3
3
3.2.4
Utility Subroutines
Several subroutines exist that are available for performing I/O tasks. A jump table has been set
up in ROM directly before the interrupt vectors. To use these subroutines, execute a jump to
subroutine (JSR) command to the appropriate entry in the jump table. By default, all I/O
performed with these routines are sent to the terminal port. Redirection of the I/O port is
achieved by placing the specified value (0=SCI, 1=ACIA, 2=DUARTA, 3=DUARTB) into RAM
location IODEV. Utility subroutines available to the user are listed in Table 3-1.
Table 3-1. Utility Subroutine Jump Table
Address
Routine
Description
$FF7C
.WARMST
Go to ">" prompt point (skip BUFFALO... message).
$FF7F
.BPCLR
Clear breakpoint table.
$FF82
.RPRINT
Display user’s registers.
$FF85
.HEXBIN
Convert ASCII character in A register to 4-bit binary number. Shift binary
number into SHFTREG from the right. SHFTREG is a 2-byte (4 hexadecimal
digits) buffer. If A register is not hexadecimal, location TMP1 is incremented
and SHFTREG is unchanged.
$FF88
.BUFFAR
Read 4-digit hexadecimal argument from input buffer to SHFTREG.
$FF8B
.TERMAR
Read 4-digit hexadecimal argument from terminal device to SHFTREG.
$FF8E
.CHGBYT
Write value (if any) from 1 to memory location pointed to by X.
(Operation also applicable to EEPROM locations.)
$FF91
.READBU
Read next character from INBUFF.
$FF94
.INCBUF
Increment pointer into input buffer.
$FF97
.DECBUF
Decrement pointer into input buffer.
$FF9A
.WSKIP
Read input buffer until non-whitespace character found.
$FF9D
.CHKABR
Monitor input for (CTRL)X, (DELETE), or (CTRL)W requests.
$FFA0
.UPCASE
If character in accumulator A is lower case alpha, convert to upper case.
$FFA3
.WCHEK
Test character in accumulator A and return with Z bit set if character is white
space (space, comma, tab).
$FFA6
.DCHEK
Test character in accumulator A and return with Z bit set if character is
delimiter (carriage return or white space).
Содержание 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 ...