ZiLOG System 8000 User Manual page 36

Zeus operating system manual
Hide thumbs Also See for System 8000:
Table of Contents

Advertisement

USER
26
Zilog
USER
I/O PORT
Syntax
IOPORT <port address>
[WIB]
Description
This command reads data in either byte or word form from the
given
port
address
and
displays
the value.
Enter a hex
value to be output to the specified port
or
enter
only
a
carriage
return
if
no
output
is to be made.
If the
WIB
parameter is not given, byte data is read from the I/O port.
Example
Output data FF to port address %FF29.
<~ ~
(CR)
<00> FF29 00
<£f
(CR)
Syntax
MOVE <addressl> <address2> <n>
Description
This command moves the contents of a block
of
memory
from
the
source
address specified by <addressl> to the destina-
tion address specified by <address2>.
<n> is the number
of
bytes to be moved.
Example
Nove memory from address %5080 to %5090 for 100 bytes.
<
M
.5..Q.B..Q.
.5..O..2.Q. l.QQ (
CR )
COMPARE
Syntax
COMPARE .<addressl> <address2> <n>
Description
This command compares the contents of two blocks of
memory.
<addressl>
and <address2> specify the starting addresses of
the two blocks, and <n> specifies the number of bytes to
be
compared.
If
any
locations of the two blocks differ, the
addresses and contents of those locations are displayed.
Example
Compare two blocks of memory with starting
addresses
%4000
and %5000 for 20 bytes.
<
~
.4.QJlQ
.5.D.Jl.Q.
.2.Q (
CR )
Zilog
26

Advertisement

Table of Contents
loading

Table of Contents