A S S er i es Pr og r am m ing M an u a l
6.2 Arithmetic Instructions
6.2.1 List of Arithmetic Instructions
The following table lists the Arithmetic instructions covered in this section.
Instruction code
API
16-bit
0100
+
0101
-
0102
*
0103
/
0104
–
0105
–
0106
–
0107
–
0112
BK+
0113
BK-
0114
$+
0115
INC
_6
0116
DEC
0117
MUL16
0118
DIV16
6 - 4 6
Pulse
instruction
32-bit
D+
Adding binary numbers
D-
Subtracting binary numbers
D*
Multiplying binary numbers
D/
Dividing binary numbers
F+
Adding floating-point numbers
F-
Subtracting floating-point numbers
F*
Multiplying floating-point numbers
F/
Dividing floating-point numbers
DBK+
Adding binary numbers in blocks
DBK-
Subtracting binary numbers in blocks
–
Linking strings
DINC
Adding one to a binary number
DDEC
Subtracting one from a binary number
MUL16: Multiplying binary numbers for 16-bit instructions
MUL32
MUL32: Multiplying binary numbers for 32-bit instructions
DIV16: Dividing binary numbers for 16-bit instructions
DIV32
DIV32: Dividing binary numbers for 32-bit instructions
Function