Status; Check Memory Status - Radio Shack PC-2 TRS-80 Owner's Manual

Pc-2 trs-80
Hide thumbs Also See for PC-2 TRS-80:
Table of Contents

Advertisement

Example
F 'Dr'::.·E+r
f··:>:<;F .' . ,
'-::'n
(ENTER)
. . . . . . . . .&..._
H.~_
will store 20 in hexadecimal address 23FA.
For a more detailed example of POKE #, see CALL.
STATUS
Check Memory Status
STATUS number
number is a numeric expression between 0-255.
o
returns the number of free bytes.
1 returns the number of bytes in use.
2 returns the "address
+
1" of the location where the current program ends.
3 returns the "address" of the memory location where the current variables are stored.
4-255 returns the line number which was executed immediately before the program was halted.
Abbreviations: STA. STAT.
The STATUS statement lets you check the current status of the PC-2. STATUS can be executed from any Opera-
tion Mode (RUN, PROgram, RESERVE).
82

Advertisement

Table of Contents
loading

Table of Contents