Revision 1.2
217
www.national.com
Instruction Set (
Continued
)
G
Table 7-27. Processor Core Instruction Set Summary
Instruction
Opcode
Flags
Real
Mode
Prot’d
Mode
Real
Mode
Prot’d
Mode
O D I
F
F
T
F
S Z
F
A P C
F
F
F
F
F
Clock Count
(Reg/Cache Hit)
Issues
AAA
ASCII Adjust AL after Add
AAD
ASCII Adjust AX before Divide
AAM
ASCII Adjust AX after Multiply
AAS
ASCII Adjust AL after Subtract
ADC
Add with Carry
Register to Register
Register to Memory
Memory to Register
Immediate to Register/Memory
Immediate to Accumulator
ADD
Integer Add
Register to Register
Register to Memory
Memory to Register
Immediate to Register/Memory
Immediate to Accumulator
AND
Boolean AND
Register to Register
Register to Memory
Memory to Register
Immediate to Register/Memory
Immediate to Accumulator
ARPL
Adjust Requested Privilege Level
From Register/Memory
BB0_Reset
Set BLT Buffer 0 Pointer to the Base
BB1_Reset
Set BLT Buffer 1 Pointer to the Base
BOUND
Check Array Boundaries
If Out of Range (Int 5)
If In Range
BSF
Scan Bit Forward
Register, Register/Memory
BSR
Scan Bit Reverse
Register, Register/Memory
BSWAP
Byte Swap
BT
Test Bit
Register/Memory, Immediate
Register/Memory, Register
BTC
Test Bit and Complement
Register/Memory, Immediate
Register/Memory, Register
BTR
Test Bit and Reset
Register/Memory, Immediate
Register/Memory, Register
BTS
Test Bit and Set
Register/Memory
Register (short form)
37
D5 0A
D4 0A
3F
u
u
u
u
-
-
-
-
-
-
u
x
x
u
u
x
x
u
x
u
u
x
u
x
x
u
x
u
u
x
3
7
19
3
3
7
19
3
-
-
-
-
-
-
1 [00dw] [11 reg r/m]
1 [000w] [mod reg r/m]
1 [001w] [mod reg r/m]
8 [00sw] [mod 010 r/m]###
1 [010w] ###
x
-
-
-
x
x
x
x
x
1
1
1
1
1
1
1
1
1
1
b
h
0 [00dw] [11 reg r/m]
0 [000w] [mod reg r/m]
0 [001w] [mod reg r/m]
8 [00sw] [mod 000 r/m]###
0 [010w] ###
x
-
-
-
x
x
x
x
x
1
1
1
1
1
1
1
1
1
1
b
h
2 [00dw] [11 reg r/m]
2 [000w] [mod reg r/m]
2 [001w] [mod reg r/m]
8 [00sw] [mod 100 r/m]###
2 [010w] ###
0
-
-
-
x
x
u
x
0
1
1
1
1
1
1
1
1
1
1
b
h
63 [mod reg r/m]
0F 3A
0F 3B
-
-
-
-
-
x
-
-
-
9
2
2
a
h
2
2
62 [mod reg r/m]
-
-
-
-
-
-
-
-
-
8+INT
7
8+INT
7
b, e
g,h,j,k,r
0F BC [mod reg r/m]
-
-
-
-
-
x
-
-
-
4/9+n
4/9+n
b
h
0F BD [mod reg r/m]
0F C[1 reg]
-
-
-
-
-
-
-
-
-
-
x
-
-
-
-
-
-
-
4/11+n
6
4/11+n
6
b
h
0F BA [mod 100 r/m]#
0F A3 [mod reg r/m]
-
-
-
-
-
-
-
-
x
1
1
b
h
1/7
1/7
0F BA [mod 111 r/m]#
0F BB [mod reg r/m]
-
-
-
-
-
-
-
-
x
2
2
b
h
2/8
2/8
0F BA [mod 110 r/m]#
0F B3 [mod reg r/m
-
-
-
-
-
-
-
-
x
2
2
b
h
2/8
2/8
0F BA [mod 101 r/m]
0F AB [mod reg r/m]
-
-
-
-
-
-
-
-
x
2
2
b
h
2/8
2/8