Appendix AInstruction Set
535
Name, mnemonic, variations,
and symbol
PageOperand data
areas
Function
CLEAR CARRY
CLC, jCLC
(079)
CLC
Clears the Carry Flag (i.e., turns OFF
A50004).
None 250
BINARY ADD
ADB, jADB
(080)
ADB Au Ad R
Adds two 4-digit hexadecimal values (Au and
Ad) and content of CY and outputs the result
to the specified result word (R).
Au + Ad + CY CY R
Au:
CIO
G
A
T/C
#
DM
DR
IR
Ad:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
DR
IR
261
BINARY SUBTRACT
SBB, jSBB
(081)
SBB Mi Su R
Subtracts both the 4-digit hexadecimal
subtrahend (Su) and content of CY from the
4-digit hexadecimal minuend (Mi) and outputs
the result to the specified result word (R).
Mi – Su – CY CY R
Mi:
CIO
G
A
T/C
#
DM
DR
IR
Su:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
DR
IR
262
BINARY MULTIPLY
MLB, jMLB
(082)
MLB Md Mr R
Multiplies the 4-digit hexadecimal multiplicand
(Md) and 4-digit hexadecimal multiplier (Mr)
and outputs the result to the specified result
words (R and R+1). R and R+1 must be in the
same data area.
Md x Mr
R+1 R
Md:
CIO
G
A
T/C
#
DM
DR
IR
Mr:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
264
BINARY DIVIDE
DVB, jDVB
(083)
DVB Dd Dr R
Divides the 4-digit hexadecimal dividend (Dd)
by the 4-digit hexadecimal divisor (Dr) and
outputs the result to the specified result words.
R receives the quotient; R+1 receives the
remainder. R and R+1 must be in the same
data area.
R+1 R
Dd ÷ Dr
Dd:
CIO
G
A
T/C
#
DM
DR
IR
Dr:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
265
DOUBLE BINARY ADD
ADBL, jADBL
(084)
ADBL Au Ad R
Adds two 8-digit hexadecimal values (2 words
each) and the content of CY, and outputs the
result to the specified result words. All words
for any one operand must be in the same data
area. CY will be set (acting as the 9
th
digit) if
the result is greater than FFFF.
Au+1
+ Ad+1
+
CY R+1
CY
Au
Ad
R
Au:
CIO
G
A
T/C
#
DM
Ad:
CIO
G
A
T/C
#
DM
R:
CIO
G
A
DM
DR
IR
266