EasyManua.ls Logo

Sharp MZ-800 - Page 183

Sharp MZ-800
221 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Machine
language
program
control
statements
INP@
INP@$E8,A
Substitutes
data
at
port
number
$E8
for
variable
A.
oOUuT@
OUT@$E8,A
Outputs
variable
A
to
port
number
SE8.
LIMIT
100
LIMIT
49151
Limits
the
area
used
by
the
BASIC
program
to
the
49151
address
(BFFF
with
hexadecimal
notation).
100
LIMIT
A
Limits
the
area
used
by
the
BASIC
program
to
the
address
of
varia-
ble
A.
100
LIMIT
$BFFF
Limits
the
area
used
by
the
BASIC
program
to
the
address
BFFF
in
hexadecimal
notation.A
hexadecimal
notation
is
indicated
by
a
‘*$””
mark
before
the
notation.
300
LIMIT
MAX
Returns
the
area
used
by
the
BASIC
program
to
the
maximum
memory.
POKE
420
POKE
49450,
Sets
data
175
(decimal
notation)
to
the
decimal
notation
address
175
49450.
130
POKE
AD,
Sets
the
value
(0
to
255)
indicated
by
variable
DA
to
the
address
DA
specified
by
variable
AD.
PEEK
150
A=PEEK
Changes
the
data
at
decimal
notation
address
49450
to
a
decimal
(49450)
number,
and
substitutes
for
variable
A.
160
B=PEEK
(C)
Changes
data
entered
at
the
decimal
notation
address
specified
by
variable
C
to
a
decimal
notation,
and
substitutes
for
variable
B.
USR
500
USR
(49152)
Moves
program
control
to
decimal
address
49152.
This
control
mov-
ement
has
the
same
function
as
the
machine
language
CALL
com-
mand.
As
a
result,
when
the
RET
command
(201
at
decimal
nota-
tion)
is
in
the
machine
language
program,
returns
to
the
BASIC
program.
550
USR
(AD)
Calls
the
decimal
address
specified
by
variable
AD.
570
USR
($C000)
Calls
the
hexadecimal
address
C000.
Printer
control
statement
AXIS
Valid
in
GRAPH
mode.
30
AXIS
0,
—10,
Adds
a
scale
of
48
graduations
in
increments
of
10
to
the
Y-
48
coordinate
axis
from
the
current
pen
position.
50
ASIX
1,
10,
Adds
a
scale
of
48
graduations
in
increments
of
10
to
the
X-
48
coordinate
axis
from
the
current
pen
position.
CIRCLE
Valid
in
GRAPH
mode.
50
CIRCLE
0, 0,
Draws
a
circle
(radius
240)
from
coordinates
(0,0).
240,
0,
360,
0,
2
GPRINT
Valid
in
GRAPH
mode.
30
GPRINT
(2,2),
Prints
the
character
A
upside
down
at
the
size
of
the
26-digit
mode
ane
of
the
TEXT
mode.
HSET
30
HSET
Specifies
the
current
pen
position
to
a
new
starting
point.
(Valid
in
GRAPH
mode.)
LINE
Valid
in
GRAPH
mode.
10
LINE%
1,
240,
0,
240,
—240,
0,
240,
0,
0
Coordinates
(240,0),
(240,
240),
(0,
240)
and
(0,0)
are
connected
by
a
solid
line
from
the
current
pen
position.

Other manuals for Sharp MZ-800

Related product manuals