Spare Time Gizmos
SBC6120 User's Manual
03/09/2003 1:35 PM
Page 29
>FM
vvvv
aaaaa-bbbbb
⇒
fill all locations from
aaaaa
to
bbbbb
with
vvvv
Examples
>FM 7402 0-7777
! fill all of field zero with HLT instructions
>E 1000-1001
01000/ 7402 7402 7402 7402 7402 7402 7402 7402
>FM 7777 0-77777
! fill all of memory with –1
>E 11000-11007
11000/ 7777 7777 7777 7777 7777 7777 7777 7777
5.2.9 CM (Clear Me mory)
Th
CM
command will clear a block of memory. It is identical to the
FM
command with the
exception that the fill value is always zero.
Formats
>CM
⇒
clear all of memory
>CM
aaaaa-bbbbb
⇒
clear all locations from
aaaaa
to
bbbbb
Example
>CM
! clear all of memory
>CK 0-77777
Checksum = 0000
5.3 R
EGISTER
C
OMMANDS
5.3.1 ER (Examine Register)
The
ER
command examines either a single register, when the register name is given as an
argument, or all registers when no argument is given. Remember that this command is really
examining the state of the main memory program that was saved when panel mode was last
entered, and not the actual contents of the BTS6120 registers now.
Formats
>ER
xx
⇒
print register
xx
-
xx
can be
AC
,
MQ
,
PC
,
SR
, or
PS
>ER
⇒
print all registers
Examples
>ER PC
PC>1211
>ER
PC>1211 PS>5000 AC>0000 MQ>0000 SP1>0000 SP2>0000
5.3.2 DR (Deposit R egister)
The
DR
command deposits a value in a register, and both a register name and an octal value are
required arguments. Like the
ER
command, this is really changing the saved state of the main
memory program and not the current BTS6120 registers. Any register values set with this
command will be used after the next
P
,
C
,
TR
or
SI
command.