EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 263

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...
OUT
lOUT
port, data byte
Statement
I
PEEK
Sends a data byte to a machine output port.
Port
is
an
integer
between"
and 255. Data byte
is
also
an
integer
between
" to 255.
A port is
an
input/output location
in
memory. For information
on
assigned ports, see the Technical Reference Manual.
Example
OUT
32,100
sends 1
""
to port 32.
IPEEK(memory locatIon)
Function
I
Returns a byte from memory location.
The memory location must be
in
the range - 32768 to 65535.
The value returned
is
an
integer
between"
and 255. (For the
interpretation of a negative value of
memory location, see the
statement VARPTR.)
PEEK
is
the complementary function of the statement POKE.
Example
A =
PEEK
(&H5A00)
2-137

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals