EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 99

Radio Shack TRS-80 Model 4
418 pages
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...
MEMORY
Advanced Programmer's Command
MEMORY
[(parameters)]
allows you to reserve a portion of memory, display or change the
current HIGH$ and LOW$, modify a memory address, or begin
executing at a specified memory location. HIGH$ has to be higher
that LOW$.
You can use MEMORY to find out which area of memory you can
use.
The parameters are:
CLEAR
=value fills memory from hex 2600 to HIGH$ with value.
value
in
the format X'nn'.
If
you do not specify value,
memory
is
filled with the hexadecimal value 00 (null).
HIGH
=address sets address as HIGH$. address must be less
than the current HIGH$.
LOW
= address sets address as LOW$.
If
you specify LOW, the
current LOW$ is displayed.
Note: Subsequent MEMORY commands (and any other system
level commands) will reset LOW$ to its default value.
ADD
=address displays the word at address and specifies the
address of WORD and BYTE.
If
you specify ADD, the
current contents of the address are displayed and WORD
and BYTE are not necessary.
WORD
=word changes the contents of ADD and ADD + 1 to
word.
BYTE
= byte changes the contents of ADD to byte.
GO
=address transfers control to address.
If
more than one
parameter
is
specified, the GO parameter is always
executed last.
address
is
any memory address
in
hexadecimal or decimal notation.
word
is
any value
in
the range 0000 - FFFF hexadecimal or 0 -
65535 decimal. byte
is
any value
in
the range 00 - FF hexadecimal or
o-255 decimal.
Examples
MEMORY
(ENTER)
displays HIGH$ (the highest unused memory location) and LOW$ (the
lowest reserved memory location)
in
the hexadecimal X'nnnn' format.
MEMORY
(HIGH:::)<'E100')
(ENTER)
sets HIGH$ to hexadecimal memory address E100, as long as the
existing HIGH$ is above
X'E100'. The MEMORY command moves
HIGH$ lower
in
memory.
1-94

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals