Programming Instructions
24
Data Movement Instructions
Instruction Mnemonic Code Function
MOVE (@)MOV 21 Copies a constant or the con-
tent of a word to a word.
MOVE
NOT
(@)MVN 22 Copies the complement of a
constant or the content of a
word to a word.
BLOCK
TRANS-
FER
(@)XFER 70 Copies the content of a block
of up to 1,000 consecutive
words to a block of consecu-
tive words.
BLOCK
SET
(@)BSET 71 Copies the content of a word
to a block of consecutive
words.
DATA EX-
CHANGE
(@)XCHG 73 Exchanges the content of two
words.
SINGLE
WORD
DIS-
TRIBUTE
(@)DIST 80 Copies the content of a word
to a word (whose address is
determined by adding an offset
to a word address).
DATA COL-
LECT
(@)COLL 81 Copies the content of a word
(whose address is determined
by adding an offset to a word
address) to a word.
MOVE BIT (@)MOVB 82 Copies the specified bit from
one word to the specified bit of
a word.
MOVE
DIGIT
(@)MOVD 83 Copies the specified digits
(4-bit units) from a word to the
specified digits of a word.
Logic Instructions
Instruction Mnemonic Code Function
COMPLE-
MENT
(@)COM 29 Turns OFF all ON bits and
turns ON all OFF bits in the
specified word.
LOGICAL
AND
(@)ANDW 34 Logically ANDs the corre-
sponding bits of two words (or
constants).
LOGICAL
OR
(@)ORW 35 Logically ORs the correspond-
ing bits of two words (or
constants).
EXCLU-
SIVE OR
(@)XORW 36 Exclusively ORs the corre-
sponding bits of two words (or
constants).
EXCLU-
SIVE NOR
(@)XNRW 37 Exclusively NORs the corre-
sponding bits of two words (or
constants).
Shift Instructions
Instruction Mnemonic Code Function
SHIFT
REGISTER
SFT
f/10
Copies the specified bit (0 or
1) into the rightmost bit of a
shift register and shifts the oth-
er bits one bit to the left.
WORD
SHIFT
(@)WSFT 16 Creates a multiple-word shift
register that shifts data to the
left in one-word units.
ASYNCH-
RONOUS
SHIFT
REGISTER
(@)ASFT 17 Creates a shift register that ex-
changes the contents of adja-
cent words when one is zero
and the other is not.
ARITH-
METIC
SHIFT
LEFT
(@)ASL 25 Shifts a 0 into bit 00 of the
specified word and shifts the
other bits one bit to the left.
ARITH-
METIC
SHIFT
RIGHT
(@)ASR 26 Shifts a 0 into bit 15 of the
specified word and shifts the
other bits one bit to the right.
ROTATE
LEFT
(@)ROL 27 Moves the content of CY into
bit 00 of the specified word,
shifts the other bits one bit to
the left, and moves bit 15 to
CY.
ROTATE
RIGHT
(@)ROR 28 Moves the content of CY into
bit 15 of the specified word,
shifts the other bits one bit to
the right, and moves bit 00 to
CY.
ONE DIGIT
SHIFT
LEFT
(@)SLD 74 Shifts a 0 into the rightmost
digit (4-bit unit) of the shift reg-
ister and shifts the other digits
one digit to the left.
ONE DIGIT
SHIFT
RIGHT
(@)SRD 75 Shifts a 0 into the leftmost digit
(4-bit unit) of the shift register
and shifts the other digits one
digit to the right.
RE-
VERSIBLE
SHIFT
REGISTER
(@)SFTR 84 Creates a single or multiple-
word shift register that can
shift data to the left or right.
Note: f: Instruction keys allocated to the Programming Con-
sole.
Special Calculation Instruction
Instruction Mnemonic Code Function
BIT
COUNTER
(@)BCNT 67 Counts the total number of bits
that are ON in the specified
block of words.