Intel iAPX 86/88 User Manual page 56

Table of Contents

Advertisement

8086/8088
CPU
Table 1-16 Instruction Set Reference Data (continued)
STOS
I
STOS dest-string
Store byte or word string
FI
0
D ITS ZAP C
ags
Operands
Clocks
Transfers·
Bytes
Coding Example
dest-string
11 (1 0)
1
1
STOS PRINT_LINE
(repeat) dest-string
9+ 10/rep)
1/rep
1
REP STOS DISPLAY
(6 + 9/rep)
SUB
I
SUB destination, source
Subtraction
FIODITSZAPC
ags
x
XXX XX
Operands·
Clocks
Transfers·
Bytes
Coding Example
register, register
3(3)
-
2
SUBCX, BX
register, memory
9(10)+EA
1
2-4
SUB DX, MATH_TOTAL [S1)
memory, register
16(10)+EA
2
2-4
SUB [BP+2), CL
accumulator, immediate
4(3-4)
-
2-3
SUBAL,10
register, immediate
4(4)
-
3-4
SUB SI, 5280
memory, immediate
17(16)+EA
2
3-6
SUB [BP), BALANCE, 1000
TEST
I
TEST destination, source
Test or non-destructive logical and
FIODITSZAPC
ags
o
XXUXO
Operands
Clocks
Transfers·
Bytes
Coding Example
register, register
3(3)
-
2
TESTSI,DI
register, memory
9(10)+EA
1
2-4
TEST SI, END_COUNT
accumulator, immediate
4(3-4)
-
2-3
TEST AL, 001000008
register, immediate
5(4)
-
3·4
TEST BX, OCC4H
memory, immediate
11(10)+EA
-
3·6
TEST RETURN_COUNT, 01 H
WAIT
I
WAIT (no operands)
Flags
ODITSZAPC
Wait while TEST pin not asserted
Operands
Clocks
Transfers·
Bytes
Coding Example
(no operands)
4+5(6)n
-
1
WAIT
XCHG
I
XCHG destination, source
Flags
ODITSZAPC
Exchange
Operands
Clocks
Transfers·
Bytes
Coding Example
accumulator, reg 16
3(3)
-
1
XCHGAX, BX
memory, register
17(17)+EA
2
2·4
XCHG SEMAPHORE, AX
register, register
4(4)
-
2
XCHGAL, BL
XLAT
I
XLAT source-table
Translate
Flags
0
D ITS ZAP C
Operands
Clocks
Transfers·
Bytes
Coding Example
source-table
11 (11)
1
1
XLAT ASCII_TAB
'For the 8086 (80186) add four clocks for each 16-bit word transfer with an odd address. For the 8088 (80188) add four clocks for each 16-bit word
transfer.
.
1·40
210912-001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 186/188

Table of Contents