Display / Set Registers; Loading Files - David Griffith P112 Assembly And Operation Manual

Revision 1.1
Table of Contents

Advertisement

5.6

Display / Set Registers

If this command is entered with no parameters, the current register values are
displayed, as follows:
=R
A F B C D E H L A' F' B' C' D' E' H' L' IX
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 0000 0000 0000 00 00 00
The 3 bytes at & following the PC address are displayed, regardless of the actual
length of the instruction at that address.
A single parameter is allowed, being a register name as in the above example.
Similarly to the display/set memory command, that register is displayed, and
may be altered. The next register (in the order above) will then be displayed in
its turn. Again, the letter "Q" entered alone, will quit before all registers have
been displayed.
=R C'
C' 00 05
D' 00
E' 00 07
H' 00
L' 00
IX 0000 446
IY 0000 Q
=
5.7

Loading Files

The debugger can read and store files in Intel-hex format. This facility is limited
to storing in RAM: the debugger cannot program the flash ROM.
Typically, the debugger is connected to a PC running a suitable terminal-
emulator program, and the "text upload" facility of that program is used to
transfer the file. There is no facility for altering the stored addresses: data is
stored as specified in the file.
Should errors be detected in the incoming file, they are noted, and displayed at
the end of the file (since otherwise they would scroll off the screen). If the file
is properly terminated with a "final record" (in the proper Intel format), errors
will be displayed after this line. Otherwise, they will be displayed after the next
non-Intel command is entered (which will be understood to mean the file has
ended). Error reports include the line-number of the last faulty line read. This
number (alone of all debugger output) is reported in decimal notation.
23
IY
PC
SP <Instr.>

Advertisement

Table of Contents
loading

Table of Contents