Hierarchy of Instruction Sets
Interrupt Vector Assignments Real Address Mode
80186~80188
Page
Basic Instruction Set
Page
Data Movement Instructions
General-Purpose Data Movement Instructions
Stack Manipulation Instructions
Push
Basic Instruction SET
Flag Operation with the Basic Instruction SET
Status Flags
Control Flags
Hm====i
Arithmetic Instructions
Previous Push Instructions LOW Address After Before Popa
Basic Instruction SET
Addition Instructions
Subtraction Instructions
Multiplication Instructions
Division Instructions
Logical Instructions
Boolean Operation Instructions
Shift and Rotate Instructions
Wordoprnd
~-i
01, I, I aI a1,1, I, I, I a1,1,1, I aI alaiI
10 01, ,1,101, 0101,1, 01 0 10
I 1I 1I 0 1I 1 1I o I o I 1 o I 1I 1111010rrG
Ll 1 1 1 l 1
Type Conversion and No-Operation Instructions
Test and Compare Instructions
Control Transfer Instructions
Unconditional Transfer Instructions
Call Instruction
Conditional Transfer Instructions
JG/JNLE
JGE/JNL
JL/JNGE
JLE/JNG
Software-Generated Interrupts
Character Translation and String Instructions
Translate Instruction
String Manipulation Instructions and Repeat Prefixes
String Movement Instructions
Address Manipulation Instructions
Intel
Flag Control Instructions
Flag Transfer Instructions
Packed BCD Adjustment Instructions
Unpacked BCD Adjustment Instructions
BINARY-CODED Decimal Arithmetic Instructions
Trusted Instructions
Trusted and Privileged Restrictions on Popf and Iret
Machine State Instructions
Input and Output Instructions
Processor Extension Instructions
Processor Extension Synchronization Instructions
Numeric Data Processor Instructions
Basic Instruction SET Data Transfer Instructions
Page
Extended Instruction Set
Page
Chapter Extended Instruction SET
Block 1/0 Instructions
HIGH-LEVEL Instructions
Formal Definition of the Enter Instruction
Variable Access in Nested Procedures
Extended Instruction SET
2b. Stack Frame for Procedure a
2d. Stack Frame for Procedure C at Level 3 Called from B
Extended Instruction SET
Page
Real Address Mode
Page
80286 Instruction SET Protected Mode Exceptions
HLT-Halt
IDIV-Signed Divide
IMUL-Signed Multiply
Opcode Instruction Clocks Description Imul eb
21,mem=24 Signed multiply rw =
21,mem=24 Signed multiply rw = EA word X imm. byte
IN-Input from Port
INC
Mem=7 Increment EA word by
INS/INSB/INSW-Input from Port to String
INS
Insb
Insw
INT IINTO-Call to Interrupt Procedure
INT3
Interrupt
Interrupt to Inner Privilege
Interrupt to Same Privilege Level
#GP, #NP, #SS, and #TS, as indicated in the list above
IRET-Interrupt Return
Opcode Instruction Clock Description
Iret
Interrupt Return
Interrupt Return on Stack
Interrupt Return to Same Level
#GP, #NP, or #88, as indicated in the above listing
JAE
JBE
JGE
JLE
80286 Instruction SET
JMP-Jump
Jump FAR
Jump Conforming Code Segment
Jump Nonconforming Code Segment
Jump to Call Gate
Jump Task State Segment
LAHF-load Flags into AH Register
Lahf
14,mem=16 Load highrw= Access Rights byte, selector ew
Real Address Mode Exception
Instruction SET
02 Ir
LOS/ LES-Load Doubleword Pointer
LDS
LES
80286 Instruction SET Protected Mode Exceptions
LEA-load
Effective Address Offset
LEAVE-HighLevel Procedure Exit
Leave
LGDTILIDT-Load Global/Interrupt Descriptor Table Register
Lgdt
Load m into Global Descriptor Table reg
LlDT
LLDT-Load Local Descriptor Table Register
Lldt ew
Load selector ew into Local Descriptor Table
Register
LMSW-Load Machine Status Word
01 /6 LMSWew Mem=6
LOCK-AssertBUS Lock Signal
Lock
Lods
LODS8
Lodsw
LOOP/LOOPcond-Loop Control with CX Counter
LSL-LoadSegment Limit
14,mem=16 Load rw = Segment Limit, selector ew
LTR-Load Task Register
00 /3 LTR ew 17,mem=19
Opcode Instruction Clocks Description
Mem=3 Move byte register into EA byte
Mem=3 Move word register into EA word
Mem=5 Move EA byte into byte register
Interrupt 13 for a word operand at offset Offffh
MOVS/MOVSB/MOVSW-Move Data from String to String
Movs
MOVS8
Movsw
MUL-Unsigned Multiplication of AL or AX
NEG-TwosComplement Negation
NEG eb
NEG ew
NOP-No Operation
NOT-OnesComplement Negation
Not
OR- Logical Inclusive or
OUT OX,AL
Output byte AL to port number OX
OUT OX,AX
Output word AX to port number OX
Outs
Outsb
Outsw
POP
POP SS
Inter
FlAGS Undefined
Popa
POPF-Pop from Stack into the Flags Register
Popf
PUSH-Push a Word onto the Stack
Push
Push CS
Push SS
PUSHA-Push All General Registers
PUSHF-Push Flags Register onto the Stack
Push flag~ register
Pushf
RCL
RCR
ROL
ROR
Condition Code Interpretation after Fprem
Programming Numeric Applications Fabs
Fcom / /source
Comparison Instructions
Condition Code Interpretation after Fcom
Fcompp
Fxam
Fptan
STO 1r
Fpatan
F2XM1
FYL2X
FYL2XP1
Constant Instructions
Processor Control Instructions
Finitifninit
Fstsw AX/FNSTSW AX
FSAVE/FRSTOR Memory Layout
Fstenvifldenv Memory Layout
Ffree destination
12. Key to Operand Types
Programming Numeric Applications
Instruction Execution Time
13. Execution Penalties
Instruction Length
·14. Instruction Set Reference Data
14. Instruction Set Reference Data Contd
Programming Numeric Applications Fdecstp
Fdiv
Fdivp
Fdivr
Ffree ST1
Fiadd DISTANCE..TRAVELLED Fiadd Pulsecount SI
Ficom TOOL.NPASSES
Ficom BP+4.PARMCOUNT
Fidivr Frequency
Fild Standoff DI
Fild RESPONSE.COUNT
Fimul Bearing
Fist OBS.COUNTSI
Fist BP.FACTOREDPULSES
Fistp BX.ALPHACOUNT SI
Fistp Correctedtime
FLD Reading 81.PRE88URE
FLO 8AVEREADING
Fldcw Controlword
FLDLG2
FLOL2E
FLOL2T
Flopi
Floz
Fmul Speedfactor
Fmulp ST1,ST
Fpatan
·14. Instruction Set Reference Data Contd
Fptan
Frstor BP
Fsave BP
FST ST3
FST Correlation
FST Meanreading
Fstcw Savecontrol
Fstp BX.ADJUSTEDRPM
Fstp ST2
Fstp Totaldosage
Fstp Regsave SI
Fsubr ST,ST1
Fsubr Vectorsi
Fsubr BX.INDEX
Fsubrp ST1,ST
Fxch ST2
FYL2X
FYL2XP1
Programming Facilities
High-Level Languages
15. PLlM-286 Built-In Procedures
ASM286
Interpretation Data Types
BIT String Shorti Nteger OFFFFFF82H HEX Must Start
TR E Q
Status Word Record Definition
17. Addressing Mode Examples
Fiaooalpha FOIVRALPHA.BETA
Fsub Alpha SI
Filo BP.BETA
It *it
Sample PL/M-286 Program
Emulation
Concurrent Processing with
Intel Programming Numeric Applications
·7. Sample ASM286 Program
Sample ASM286 Program Contd
Managing Concurrency
Instruction Synchronization
Data Synchronization
Error Synchronization
Synchronizing References to Shared Data
MOV
Fsgrt
System-Level Numeric Programming
Page
Real-Address Mode and Protected Virtual-Address Mode
Architecture
Processor Extension Data Channel
Dedicated and Reserved 1/0 Locations
Processor Initialization and Control
System Initialization
Recognizing. the 80287 NPX
SYSTEM-LEVEL Numeric Programming
Software Routine to Recognize
Configuring the Numerics Environment