Z
ILOG
INITIAL CHECKOUT/SAMPLE SESSION (Continued)
12. Type "G" at the monitor command prompt. The screen should show the message "Go Starting
at Address:". Press <ENTER> to start the TSTRST20 program.
Note: Chapter describes the I/O services that the Debug Monitor provides to downloaded
programs.
The first two lines displayed by TSTRST20 tests the 'message' service, and should appear as:
(message) Test RST 20 services (date)
A. Enter a hex value up to 4 digits (in_hl)
B. Enter a 1- to 4-digit hex value followed by pressing <ENTER>. This tests the 'in_hl' service.
The following display tests three services called 'out_hl', 'out_a', and 'out_char', and should
appear as follows:
16-bit value we saw (out_hl) : XXXX
the terminating character was (out_a) : 0D
and the 'any digits' CC was (out_char) : NZ
Waiting for you (test_char) :
C. Check that the value shown above as XXXX is the hex value you entered.
D. Type any data character on the keyboard. This tests two services called 'test_char' and
'in_char'.
After you type a character, the concluding messages from TSTRST20 should appear as
follows:
Your character was (in_char) : XX
A
F B
C D E
0D 20 03 B6 8E 0D 03 6A 02 F7 00 04 2E B7 04 62 00 010F 28BF 1F00 0
024C EF
Z80180>
13. Check whether the value shown as XX in the preceding paragraph is the hex value of the
character entered. The second through fourth lines above indicate that the TSTRST20 program
ended with a Breakpoint instruction.
This completes the Initial Checkout/Sample Session.
2-10
H L
A' F' B' C' D'
RST
28
UM010501-0301
E'
H' L' I
IX
Z8S180 E
MULATOR
U
'
M
SER
S
ANUAL
IY
SP
SEI
ST951800100
Need help?
Do you have a question about the Z8S18000ZEM and is the answer not in the manual?
Questions and answers