Monitor Function - Sharp MZ-700 Owner's Manual

Hide thumbs Also See for MZ-700:
Table of Contents

Advertisement

2.11
Monitor Function
The IOCS section of the BASIC Interpreter includes a monitor program to make it easy to enter
machine language programs. This monitor program uses the area from FFOOH to FFFFH as a stack area.
This monitor program includes the screen editor similar to that of BASIC which makes it possible to
change the contents of any address within the 64K RAM area as described below.
2.11.1 Editing format
:address= data
data
data
: (colon)
Indicates that the line following can be edited.
address
Indicates the starting address of the memory area whose contents can be changed.
( 4 hexadecimal digits)
data
Separates data from the address.
2-digit hexadecimal number or a semicolon " ; " plus the character which is written in
the specified address. A blank is used to separate adjacent data items.
2.11.2
Printer switching command ..........................................
(P command)
I
Format
I
*
P
This command switches data output with the D or F command between the printer and display. If tbe
printer is not connected to the computer, the message "ERR? " is displayed and the monitor stands by
for input of another command. Check the printer connection or execute the P command again to switch
the output device to the display.
2.11.3
Dump command ...................................................................
(D command)
I
Format
I
*
D <start address <
LJ
end address>>
This command dumps the contents of memory from the starting address to the end address. If the end
address is omitted, the contents of the 128-byte block starting at the specified address are dumped. If
both addresses are omitted, it dumps the contents of the 128-byte block following memory block previously
dumped. The format in which data is dumped is as follows.
:
HHHH=HH
LJ
HHLJHH HH HH HH HH HH
/
ABCDE. G.
i
Starting adress
8 bytes (Hexadecimal code)
8 bytes (Characters)
The contents of any location can be changed by moving the cursor to the corresponding byte, entering
the new
data,
and pressing the
I CRI
key.
Note Control codes are displayed as a period (. ) in the character data field. Pressing the
I BREAK I
key
stops dump
output,
and pressing the
I
SHIFT
I
and
I BREAK I
keys simultaneously returns the
monitor to the command input mode.
-----------------------------------------------------------------------99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents