Sharp MZ-700 Series Owner's Manual page 152

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

Advertisement

5.2.4 J command (J : Jump)
Format
1
J h h h h
h h h h
destination address
Function
This command transfers control to the specified address; i.e., it sets the specified
address in the program counter.
X J 1 2 0 0 J
Jumps to address $1200.
5.2.5 S command (S : Save)
Format
Function
S h h h h h' h' h' h' h " h " h " h "
h h h h
starting address
h ' h ' h ' h'----end address
h " h " h " h " ••• execution address
Upon execution, this command prompts for entry of a file name, then saves the
contents of memory from h h h h to h' h' h' h' on cassette tape under the specified
file name. Assume that a machine language program in the area from $6000 to
$60A3 whose execution address is at $6050 is to be saved under file name " MFILE";
the command is then entered as follows.
x eimoiisiEiisEaiasiiiBaEE] j
F I L E N A M E ?
E J E f f l O E J
±
R E C O R D • P L A Y
Confirm that a blank cassette tape is loaded in the data recorder and press the
| RECORD 1 key.
If the write protect tab of the cassette tape is removed, the [ RECORD
-
) key cannot
be pressed. Replace it with another cassette.
This command can only be used to save machine language programs.
W R I T I N G
M F I L E
O K !
Note: To abort recording, hold down both the
until the prompt " X " appeas.
SHIFT
and | BREAK | keys
149-

Advertisement

Table of Contents
loading

Table of Contents