Download Print this page

Sharp PC-1500 Technical Reference Manual page 117

Hide thumbs Also See for PC-1500:

Advertisement

All
and more
about Sharp
PC-1500
at
http://www.PC-1500.info
5-1.
BASIC command related PC-1500 machine language
112
Jn
this
section
we
will
discuss
the llAS
JC
command related PC-
I
500
machine
la
ng
uage.
5-1-1. NEW
Format (PRO
mode)
NEW
r
expression
T
0)
NEW
expression
(=
O)
Clears
progra
rn a
nd a
ll
data
areas
a
nd
secures
the
Hr\S
I(:
pr<
lg_rarn
area
follo\l
..
1
ing
to
l
ht
rescr\'e
prograrn
area.
~
T
o
p
of
tho
BASIC program
Operation
of
the
PC· 1500
only
40
C~5
H
Operation
in
conjucti
on
v•ith
the
C
E-
l
55
38CSH
See
{System
menl
ory)
CD
NEW expression
0)
Effecti
ve.
\vhcn
there
is
no
user
R()iv1 a
rea.
C lears
BAS
IC
progra
m a
nd all
dat•:t
a
reas a
nd
sets
tht·
B:\St<:
pr<
>gra1n
,area
fr<
> n1
tht·
address
represented
in
the
expression. \\•hich
is
valid
'''ithin
an
addrcsl"
ra
nge
of
H.AM
area
c
xct:pt
the
reserve
a ri.:a
.
<D
NEW
C lea
rs
R1
\SIC
progra
1l1
and
all
da ta
area~
\V
ithout
uffecting
th:.:
f3l\SIC
progra
n'l
a
rea.
When cxccu1cd
in the reserve
mode.
i1
clears
the
re~crvc
area.
5-1-2.
STATUS
Format
Status
-
expression
-
0
STATUS 0
S
i
n1i
lar
to
ME Y1
.
the su1n of
unoccuipi(.
· d
1
nc1nory
siL
C
and
dala
nlcrnory
si1c
is
gii\'en
in
tcrnts
of
bytes.
(f)
STATUS 1
Si1e
of
the
1
nen1ory
used
fo
r the
1
3.·
\
SIC
pr<
> gra1n
is
given
in
l~rn1s
of
byt~S.
<D
STATUS
2
·r
hc
last
J~ ;\
SI
C
prograrn add
ress
p
lus one
address
(next
to FFl-1)
is
given.
0
STAT
US 3
·r hc
s111allcst
address
\vhen:
da ta
stc>n.:d
is
given.
(D
ST
ATUS 4
\\'
hen
llASI
C
progra111
is
in
execution.
t
he·
line
nuntbc.r
executed intntcd
iatcly
before.
\\'hen
progran1
execution
is
<H
hal1
. tht!
current
line number.
Jn
otherwise
cond ition.
"O''.
Same
f<H
STATUS
5
thru
255.
Do not sale
this
PDF!!!

Advertisement

loading