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
Control Flags
Flag Operation with the Basic Instruction SET
Status Flags
Hm====i
Arithmetic Instructions
Previous Push Instructions LOW Address After Before Popa
Basic Instruction SET
Addition Instructions
Subtraction Instructions
Multiplication Instructions
Logical Instructions
Division 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
Test and Compare Instructions
Type Conversion and No-Operation Instructions
Control Transfer Instructions
Unconditional Transfer Instructions
Call Instruction
Conditional Transfer Instructions
JL/JNGE
JG/JNLE
JGE/JNL
JLE/JNG
Software-Generated Interrupts
Translate Instruction
Character Translation and String Instructions
String Manipulation Instructions and Repeat Prefixes
String Movement Instructions
Address Manipulation Instructions
Intel
Flag Control Instructions
Flag Transfer Instructions
Unpacked BCD Adjustment Instructions
Packed BCD Adjustment Instructions
BINARY-CODED Decimal Arithmetic Instructions
Trusted and Privileged Restrictions on Popf and Iret
Trusted Instructions
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
21,mem=24 Signed multiply rw =
IMUL-Signed Multiply
Opcode Instruction Clocks Description Imul eb
21,mem=24 Signed multiply rw = EA word X imm. byte
IN-Input from Port
INC
Mem=7 Increment EA word by
Insb
INS/INSB/INSW-Input from Port to String
INS
Insw
INT IINTO-Call to Interrupt Procedure
INT3
Interrupt to Inner Privilege
Interrupt
Interrupt to Same Privilege Level
#GP, #NP, #SS, and #TS, as indicated in the list above
Iret
IRET-Interrupt Return
Opcode Instruction Clock Description
Interrupt Return
Interrupt Return on Stack
Interrupt Return to Same Level
#GP, #NP, or #88, as indicated in the above listing
JGE
JAE
JBE
JLE
80286 Instruction SET
JMP-Jump
Jump Nonconforming Code Segment
Jump FAR
Jump Conforming Code Segment
Jump to Call Gate
Jump Task State Segment
LAHF-load Flags into AH Register
Lahf
Instruction SET
14,mem=16 Load highrw= Access Rights byte, selector ew
Real Address Mode Exception
02 Ir
LDS
LOS/ LES-Load Doubleword Pointer
LES
80286 Instruction SET Protected Mode Exceptions
LEA-load
Effective Address Offset
LEAVE-HighLevel Procedure Exit
Leave
Load m into Global Descriptor Table reg
LGDTILIDT-Load Global/Interrupt Descriptor Table Register
Lgdt
LlDT
Load selector ew into Local Descriptor Table
LLDT-Load Local Descriptor Table Register
Lldt ew
Register
LMSW-Load Machine Status Word
01 /6 LMSWew Mem=6
LOCK-AssertBUS Lock Signal
Lock
LODS8
Lods
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
Mem=3 Move word register into EA word
Opcode Instruction Clocks Description
Mem=3 Move byte register into EA byte
Mem=5 Move EA byte into byte register
Interrupt 13 for a word operand at offset Offffh
MOVS8
MOVS/MOVSB/MOVSW-Move Data from String to String
Movs
Movsw
MUL-Unsigned Multiplication of AL or AX
NEG eb
NEG-TwosComplement Negation
NEG ew
NOP-No Operation
NOT-OnesComplement Negation
Not
OR- Logical Inclusive or
OUT OX,AX
OUT OX,AL
Output byte AL to port number OX
Output word AX to port number OX
Outsb
Outs
Outsw
POP
POP SS
Inter
FlAGS Undefined
Popa
POPF-Pop from Stack into the Flags Register
Popf
Push CS
PUSH-Push a Word onto the Stack
Push
Push SS
PUSHA-Push All General Registers
Push flag~ register
PUSHF-Push Flags Register onto the Stack
Pushf
ROL
RCL
RCR
ROR
Condition Code Interpretation after Fprem
Comparison Instructions
Programming Numeric Applications Fabs
Fcom / /source
Condition Code Interpretation after Fcom
Fcompp
Fxam
Fptan
STO 1r
FYL2X
Fpatan
F2XM1
FYL2XP1
Constant Instructions
Processor Control Instructions
Finitifninit
Fstsw AX/FNSTSW AX
FSAVE/FRSTOR Memory Layout
Fstenvifldenv Memory Layout
Ffree destination
Programming Numeric Applications
12. Key to Operand Types
Instruction Execution Time
13. Execution Penalties
Instruction Length
·14. Instruction Set Reference Data
14. Instruction Set Reference Data Contd
Fdivp
Programming Numeric Applications Fdecstp
Fdiv
Fdivr
Ficom TOOL.NPASSES
Ffree ST1
Fiadd DISTANCE..TRAVELLED Fiadd Pulsecount SI
Ficom BP+4.PARMCOUNT
Fild RESPONSE.COUNT
Fidivr Frequency
Fild Standoff DI
Fimul Bearing
Fistp BX.ALPHACOUNT SI
Fist OBS.COUNTSI
Fist BP.FACTOREDPULSES
Fistp Correctedtime
Fldcw Controlword
FLD Reading 81.PRE88URE
FLO 8AVEREADING
FLDLG2
Flopi
FLOL2E
FLOL2T
Floz
Fmulp ST1,ST
Fmul Speedfactor
Fpatan
Frstor BP
·14. Instruction Set Reference Data Contd
Fptan
Fsave BP
FST Meanreading
FST ST3
FST Correlation
Fstcw Savecontrol
Fstp Totaldosage
Fstp BX.ADJUSTEDRPM
Fstp ST2
Fstp Regsave SI
Fsubr BX.INDEX
Fsubr ST,ST1
Fsubr Vectorsi
Fsubrp ST1,ST
FYL2X
Fxch ST2
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
Fsub Alpha SI
17. Addressing Mode Examples
Fiaooalpha FOIVRALPHA.BETA
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
Architecture
Real-Address Mode and Protected Virtual-Address Mode
Processor Extension Data Channel
System Initialization
Dedicated and Reserved 1/0 Locations
Processor Initialization and Control
Recognizing. the 80287 NPX
SYSTEM-LEVEL Numeric Programming
Software Routine to Recognize
Configuring the Numerics Environment