
Instruction Set Listing
3-2
3.1.2
Binary Arithmetic
The microcontroller supports binary arithmetic using numbers represented in the two’s
complement system. The two’s complement system uses the high bit of an integer (a signed
number) to determine the sign of the number. Unsigned numbers have no sign bit.
Binary Addition Instructions
Binary Subtraction Instructions
Binary Multiplication Instructions
Binary Division Instructions
Binary Conversion Instructions
Mnemonic
Name
See Page
ADC
Add Numbers with Carry
ADD
Add Numbers
INC
Increment Number by One
Mnemonic
Name
See Page
DEC
Decrement Number by One
SBB
Subtract Numbers with Borrow
SUB
Subtract Numbers
Mnemonic
Name
See Page
IMUL
Multiply Integers
MUL
Multiply Unsigned Numbers
SAL
Shift Arithmetic Left
SHL
Shift Left (
Synonym for
SAL)
Mnemonic
Name
See Page
DIV
Divide Unsigned Numbers
IDIV
Divide Integers
SAR
Shift Arithmetic Right
SHR
Shift Right
Mnemonic
Name
See Page
CBW
Convert Byte Integer to Word
CWD
Convert Word Integer to Doubleword
NEG
Two’s Complement Negation
Summary of Contents for Am186 Series
Page 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Page 10: ...Table of Contents x...
Page 18: ...Programming 1 8...
Page 40: ...Instruction Set Listing 3 14...