Appendix AInstruction Set
528
Name, mnemonic, variations,
and symbol
PageOperand data
areas
Function
BLOCK TRANSFER
XFER, jXFER
(040)
XFER N S D
Moves the content of several consecutive
source words (S gives the address of the
starting source word) to consecutive
destination words (D is the starting destination
word). All source words must be in the same
data area, as must all destination words.
Transfers can be within one data area or
between two data areas, but the source and
destination words must not overlap.
S
S+1
D
D+1
S+N–1 D+N–1
No. of
Words
N:
CIO
G
A
T/C
#
DM
DR
IR
S:
CIO
G
A
T/C
DM
DR*
IR*
D:
CIO
G
A
T/C
DM
DR*
IR*
197
BLOCK SET
BSET, jBSET
(041)
BSET S St E
Copies the content of one word or constant (S)
to several consecutive words (from the starting
word, St, through to the ending word, E). St
and E must be in the same data area.
S
St
E
S:
CIO
G
A
T/C
#
DM
DR
IR
St:
CIO
G
A
T/C
DM
DR*
IR*
E:
CIO
G
A
T/C
DM
DR*
IR*
198
MOVE BIT
MOVB, jMOVB
(042)
MOVB S Bi D
Copies the data from the bit in the source
word (S) specified in the bit designator (Bi) to
the bit in the destination word (D) specified in
the bit designator (Bi).
The rightmost two digits of Bi designate the
source bit and the leftmost two digits
designate the destination bit.
1
Bi
120
Source bit (00 to 15)
Destination bit (00 to 15)
S:
CIO
G
A
#
DM
DR
IR
Bi:
CIO
G
A
#
T/C
DM
DR
IR
D:
CIO
G
A
DM
DR
IR
199
MOVE DIGIT
MOVD, jMOVD
(043)
MOVD S Di D
Copies the content of the specified digit(s) in S
to the specified digit(s) in D. Up to four digits
can be transferred at one time. The first digit to
be copied, the number of digits to be copied,
and the first digit to receive the copy are
designated in Di. The rightmost digit in Di
determines the first digit in S to be transferred.
The next digit determines the number of digits
to be transferred, and the third digit
determines the first digit in D to which data will
be transferred.
First digit in S (0 to 3)
Number of digits (0 to 3)
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
First digit in D (0 to 3)
3 2 1 0
Not used.
Di
S:
CIO
G
A
T/C
#
DM
DR
IR
Di:
CIO
G
A
T/C
#
DM
DR
IR
D:
CIO
G
A
T/C
DM
DR
IR
201