Intel iAPX 86/88 User Manual page 53

Table of Contents

Advertisement

8086/8088
CPU
Table 1-16 Instruction Set Reference Data (continued)
REPNE/REPNZ
REPNEIREPNZ (no operands)
Flags
~
0 I
TSZAPC
Repeat string operation while
UUXUX
not equal/not zero
Operands
I
Clocks
I
Transfers·
I
Bytes
Coding Example
(no operands)
I
2(2)
I
-
I
1
REPNE SCAS INPUT_LINE
RET
I
RET optional-pop-value
Return from procedure
Flags 0 0 ITS ZAP C
Operands
Clocks
Transfers·
Bytes
Coding Example
(intra-segment, no pop)
16(16)
1
1
RET
(intra-segment, pop)
20(18)
1
3
RET4
(inter-segment, no pop)
26(22)
2
1
RET
(inter-segment, pop)
25(25)
2
3
RET2
ROL
I
ROL destination, count
Flags
OOITSZAPC
Rotate left
X
X
Operands
Clocks
'n'ansfers·
Bytes
Coding Example
register, 1
2(2)
-
2
ROL BX, 1
register, CL
8+41
-
2
ROLOI,CL
bit(5 + 1lbit)
memory, 1
15(15)+EA
2
2-4
ROL FLAG_BYTE [01),1
memoryCL
20+41
2
2-4
ROL ALPHA, CL
bit(17 +
1/bit)+EA
register, n
(5+ 1/bit)
-
3
ROLBX,5
memory, n
(17 + 1/bit)
2
3-5
ROLBETA,5
ROR
J
ROR destination, count
Rotate right
FIOOITSZAPC
ags X
X
Operands
Clocks
'n'ansfers •
Bytes
Coding Example
register, 1
2(2)
-
2
ROR BX, 1
register, CL
8+41
-
2
ROR BX, CL
bit(5 + 1/bit)
memory, 1
15(15)+EA
2
2-4
ROR PORT_STATUS, 1
memoryCL
20+41
2
2-4
ROR CMO_WORO, CL
bit(17+
1/bit)+EA
register, n
(5+ 1/bit)
-
3
ROR BX, 5
memory, n
(17 + 1lbit)
2
3-5
ROR BETA, 5
SAHF
I
SAHF (no operands)
Store AH into flags
FI
00 I TS ZAP C
ags
RRRRR
Operands
Clocks
'n'ansfers •
Bytes
Coding Example
(no operands)
4(3)
-
1
SAHF
• For the 8088 (80186) add four clocks for each 1 6-blt word transfer with an odd address. For the 8086 (80188) add four clocks for each 16-bit word
transfer.
1-37
210912-001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 186/188

Table of Contents