EasyManua.ls Logo

Sharp PC-1500 - Page 117

Sharp PC-1500
182 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...
All
and
more about
Sharp
PC
-1
500
at http:/lwww.PC-
150
0.info
5-1.
BASIC
command related PC-1500 machine language
112
In this scccion we
wi
ll
discuss the
BAS
IC comm
an
d related PC-
1500
mach
in
e l
anguage
.
5-1-1. NEW
Format (PRO
mode)
NEW
r expression T
CD
NEW
expression (=
O)
Clears
pr
ogram
and
a
ll
da
ta ar
eas
and
secures the
BAS
IC pr
ogram
area fo
ll
ow
ing to
the reser
ve
pr
ogr
am
ar
ea.
Top of the
BASIC
progra1m
Operat
ion
of
the
PC
-1
500
on
ly 40C5H
Operat
ion
in
co
n
ju
ct
ion with
th
e
CE-
1
55
38C5H
See
(Syste
m
memory
)
CD
NEW
exp
ression (#
0)
Effecti
ve
when
th
ere
is no user
ROM
ar
ea
.
Cl
ears
B
AS
IC
pr
ogram
and all data
areas
and
sets the B
AS
IC program
ar
ea f
rom
the
address re
pr
esented
in
the expressi
on
. which is valid
wi
thin a n addrc.ss
ra
nge
of
RA M
ar
ea except the reserve
ar
ea.
(D
NEW
Clears
BAS
IC
progr
am
and
al
l d
at
a are
as
wi
t
ho
ut a
ff
ec
ting the BA
SI
C p
rogram
area.
When executed in
th
e reser
ve
mo
de. it clears t
he
reser
ve
area.
5-1-2. STATUS
Format
Status - expression -
CD
STATUS
0
Similar to M
EM.
the sum
of
unoccupied
memor
y
siLc
an
d
data
m
emo
r
ys
iLc
is
given in
t
erms
of bytes.
(i)
STATUS
1
Si7.e
of
the me
mo
ry used for the
BAS
IC p
rogram
is
given in t
er
ms
of
bytes.
(D
STATUS
2
The l
as
t
BASIC
program
add
ress plus one address (next
to
FF
H) is
gi
ven.
©
STATUS
3
The smallest
ad
dr
ess where d
ata
st<J
red
is
gi
ve
n.
G)
STATUS
4
When
BASIC pr
og
r
am
is
in
execution, the line
number
executed
imme
diately
befo
re.
When
pr
ogram execution is
<H
halt, the
cur
rent line number.
ln
ot
herwise
co
nditi
on
. "0". Sarne for
STAT
US 5
thru
255.
Do
not sell this PDF !! !