1、intel指令集手册参考模板Intel 8086 Family Architecture. . . . . . . . . . . . . . . . . . . . . 3Instruction Clock Cycle Calculation . . . . . . . . . . . . . . . . . . 38088/8086 Effective Address (EA) Calculation . . . . . . . . . . . . . 3Task State Calculation. . . . . . . . . . . . . . . . . . . . . . .
2、. . 4FLAGS - Intel 8086 Family Flags Register. . . . . . . . . . . . . . . . 4MSW - Machine Status Word (286+ only) . . . . . . . . . . . . . . . . . 58086/80186/80286/80386/80486 Instruction Set. . . . . . . . . . . . . . 6AAA - Ascii Adjust for Addition. . . . . . . . . . . . . . . . . . 6AAD - As
3、cii Adjust for Division. . . . . . . . . . . . . . . . . . 6AAM - Ascii Adjust for Multiplication. . . . . . . . . . . . . . . 6AAS - Ascii Adjust for Subtraction . . . . . . . . . . . . . . . . 6ADC - Add With Carry . . . . . . . . . . . . . . . . . . . . . . . 7ADD - Arithmetic Addition. . . . . .
4、 . . . . . . . . . . . . . . . 7AND - Logical And. . . . . . . . . . . . . . . . . . . . . . . . . 7ARPL - Adjusted Requested Privilege Level of Selector (286+ PM). . 7BOUND - Array Index Bound Check (80188+) . . . . . . . . . . . . . 8BSF - Bit Scan Forward (386+). . . . . . . . . . . . . . . . . .
5、 . 8BSR - Bit Scan Reverse (386+) . . . . . . . . . . . . . . . . . . 8BSWAP - Byte Swap (486+) . . . . . . . . . . . . . . . . . . 8BT - Bit Test (386+) . . . . . . . . . . . . . . . . . . 9BTC - Bit Test with Compliment (386+). . . . . . . . . . . . . . . 9BTR - Bit Test with Reset (386+) . . . .
6、. . . . . . . . . . . . . 9BTS - Bit Test and Set (386+) . . . . . . . . . . . . . . . . . . 9CALL - Procedure Call. . . . . . . . . . . . . . . . . . . . . . . 10CBW - Convert Byte to Word . . . . . . . . . . . . . . . . . . . . 10CDQ - Convert Double to Quad (386+). . . . . . . . . . . . . . . . 1
7、0CLC - Clear Carry. . . . . . . . . . . . . . . . . . . . . . . . . 11CLD - Clear Direction Flag . . . . . . . . . . . . . . . . . . . . 11CLI - Clear Interrupt Flag (disable) . . . . . . . . . . . . . . . 11CLTS - Clear Task Switched Flag (286+ privileged). . . . . . . . . 11CMC - Complement Carry
8、Flag. . . . . . . . . . . . . . . . . . . . 11CMP - Compare. . . . . . . . . . . . . . . . . . . . . . . . . . . 12CMPS - Compare String (Byte, Word or Doubleword) . . . . . . . . . 12CMPXCHG - Compare and Exchange . . . . . . . . . . . . . . . . . . 12CWD - Convert Word to Doubleword . . . . . . .
9、. . . . . . . . . . 12CWDE - Convert Word to Extended Doubleword (386+). . . . . . . . . 13DAA - Decimal Adjust for Addition. . . . . . . . . . . . . . . . . 13DAS - Decimal Adjust for Subtraction . . . . . . . . . . . . . . . 13DEC - Decrement. . . . . . . . . . . . . . . . . . . . . . . . . . 13DI
10、V - Divide . . . . . . . . . . . . . . . . . . . . . . . . . . . 13ENTER - Make Stack Frame (80188+) . . . . . . . . . . . . . . . . 14ESC - Escape . . . . . . . . . . . . . . . . . . . . . . . . . . . 14HLT - Halt CPU . . . . . . . . . . . . . . . . . . . . . . . . . . 14IDIV - Signed Integer Divis
11、ion . . . . . . . . . . . . . . . . . . 14IMUL - Signed Multiply . . . . . . . . . . . . . . . . . . . . . . 15IN - Input Byte or Word From Port. . . . . . . . . . . . . . . . . 15INC - Increment. . . . . . . . . . . . . . . . . . . . . . . . . . 16INS - Input String from Port (80188+) . . . . . . .
12、 . . . . . . . 16INT - Interrupt. . . . . . . . . . . . . . . . . . . . . . . . . . 16INTO - Interrupt on Overflow . . . . . . . . . . . . . . . . . . . 17INVD - Invalidate Cache (486+). . . . . . . . . . . . . . . . . . 17INVLPG - Invalidate Translation Look-Aside Buffer Entry (486+) . . 17IRET/IRE
13、TD - Interrupt Return. . . . . . . . . . . . . . . . . . . 17Jxx - Jump Instructions Table. . . . . . . . . . . . . . . . . . . 18JCXZ/JECXZ - Jump if Register (E)CX is Zero. . . . . . . . . . . . 18JMP - Unconditional Jump . . . . . . . . . . . . . . . . . . . . . 19LAHF - Load Register AH From Fla
14、gs . . . . . . . . . . . . . . . . 19LAR - Load Access Rights (286+ protected). . . . . . . . . . . . . 19LDS - Load Pointer Using DS. . . . . . . . . . . . . . . . . . . . 20LEA - Load Effective Address . . . . . . . . . . . . . . . . . . . 20LEAVE - Restore Stack for Procedure Exit (80188+). . . .
15、 . . . . . 20LES - Load Pointer Using ES. . . . . . . . . . . . . . . . . . . . 20LFS - Load Pointer Using FS (386+) . . . . . . . . . . . . . . . . 21LGDT - Load Global Descriptor Table (286+ privileged). . . . . . . 21LIDT - Load Interrupt Descriptor Table (286+ privileged) . . . . . 21LGS - Load
16、Pointer Using GS (386+) . . . . . . . . . . . . . . . . 21LLDT - Load Local Descriptor Table (286+ privileged) . . . . . . . 22LMSW - Load Machine Status Word (286+ privileged). . . . . . . . . 22LOCK - Lock Bus. . . . . . . . . . . . . . . . . . . . . . . . . . 22LODS - Load String (Byte, Word or D
17、ouble). . . . . . . . . . . . . 22LOOP - Decrement CX and Loop if CX Not Zero. . . . . . . . . . . . 23LOOPE/LOOPZ - Loop While Equal / Loop While Zero . . . . . . . . . 23LOOPNZ/LOOPNE - Loop While Not Zero / Loop While Not Equal . . . . 23LSL - Load Segment Limit (286+ protected). . . . . . . . .
18、. . . . 23LSS - Load Pointer Using SS (386+) . . . . . . . . . . . . . . . . 24LTR - Load Task Register (286+ privileged) . . . . . . . . . . . . 24MOV - Move Byte or Word. . . . . . . . . . . . . . . . . . . . . . 24MOVS - Move String (Byte or Word). . . . . . . . . . . . . . . . . 25MOVSX - Move w
19、ith Sign Extend (386+) . . . . . . . . . . . . . . . 25MOVZX - Move with Zero Extend (386+) . . . . . . . . . . . . . . . 25MUL - Unsigned Multiply. . . . . . . . . . . . . . . . . . . . . . 25NEG - Twos Complement Negation. . . . . . . . . . . . . . . . . . 26NOP - No Operation (90h) . . . . . . .
20、. . . . . . . . . . . . . . 26NOT - Ones Compliment Negation (Logical NOT). . . . . . . . . . . 26OR - Inclusive Logical OR. . . . . . . . . . . . . . . . . . . . . 26OUT - Output Data to Port. . . . . . . . . . . . . . . . . . . . . 27OUTS - Output String to Port (80188+) . . . . . . . . . . . . .
21、. 27POP - Pop Word off Stack . . . . . . . . . . . . . . . . . . . . . 27POPA/POPAD - Pop All Registers onto Stack (80188+). . . . . . . . 28POPF/POPFD - Pop Flags off Stack . . . . . . . . . . . . . . . . . 28PUSH - Push Word onto Stack. . . . . . . . . . . . . . . . . . . . 28PUSHA/PUSHAD - Push A
22、ll Registers onto Stack (80188+) . . . . . . 28PUSHF/PUSHFD - Push Flags onto Stack . . . . . . . . . . . . . . . 29RCL - Rotate Through Carry Left. . . . . . . . . . . . . . . . . . 29RCR - Rotate Through Carry Right . . . . . . . . . . . . . . . . . 29REP - Repeat String Operation. . . . . . . . .
23、 . . . . . . . . . . 30REPE/REPZ - Repeat Equal / Repeat Zero . . . . . . . . . . . . . . 30REPNE/REPNZ - Repeat Not Equal / Repeat Not Zero . . . . . . . . . 30RET/RETF - Return From Procedure . . . . . . . . . . . . . . . . . 31ROL - Rotate Left. . . . . . . . . . . . . . . . . . . . . . . . . 31R
24、OR - Rotate Right . . . . . . . . . . . . . . . . . . . . . . . . 31SAHF - Store AH Register into FLAGS. . . . . . . . . . . . . . . . 32SAL/SHL - Shift Arithmetic Left / Shift Logical Left . . . . . . . 32SAR - Shift Arithmetic Right . . . . . . . . . . . . . . . . . . . 32SBB - Subtract with Borro
25、w/Carry . . . . . . . . . . . . . . . . . 33SCAS - Scan String (Byte, Word or Doubleword) . . . . . . . . . . 33SETAE/SETNB - Set if Above or Equal / Set if Not Below (386+). . . 33SETB/SETNAE - Set if Below / Set if Not Above or Equal (386+). . . 33SETBE/SETNA - Set if Below or Equal / Set if Not A
26、bove (386+). . . 34SETE/SETZ - Set if Equal / Set if Zero (386+). . . . . . . . . . . 34SETNE/SETNZ - Set if Not Equal / Set if Not Zero (386+). . . . . . 34SETL/SETNGE - Set if Less / Set if Not Greater or Equal (386+) . . 34SETGE/SETNL - Set if Greater or Equal / Set if Not Less (386+) . . 35SETLE
27、/SETNG - Set if Less or Equal / Set if Not greater or Equal (386+) 35SETG/SETNLE - Set if Greater / Set if Not Less or Equal (386+) . . 35SETS - Set if Signed (386+). . . . . . . . . . . . . . . . . . . . 35SETNS - Set if Not Signed (386+) . . . . . . . . . . . . . . . . . 36SETC - Set if Carry (386
28、+) . . . . . . . . . . . . . . . . . . . . 36SETNC - Set if Not Carry (386+). . . . . . . . . . . . . . . . . . 36SETO - Set if Overflow (386+). . . . . . . . . . . . . . . . . . . 36SETNO - Set if Not Overflow (386+) . . . . . . . . . . . . . . . . 36SETP/SETPE - Set if Parity / Set if Parity Even
29、(386+). . . . . . 37SETNP/SETPO - Set if No Parity / Set if Parity Odd (386+). . . . . 37SGDT - Store Global Descriptor Table (286+ privileged) . . . . . . 37SIDT - Store Interrupt Descriptor Table (286+ privileged). . . . . 37SHL - Shift Logical Left . . . . . . . . . . . . . . . . . . . . . 37SHR
30、- Shift Logical Right. . . . . . . . . . . . . . . . . . . . . 38SHLD/SHRD - Double Precision Shift (386+). . . . . . . . . . . . . 38SLDT - Store Local Descriptor Table (286+ privileged). . . . . . . 38SMSW - Store Machine Status Word (286+ privileged) . . . . . . . . 38STC - Set Carry. . . . . . .
31、 . . . . . . . . . . . . . . . . . . . 39STD - Set Direction Flag . . . . . . . . . . . . . . . . . . . . . 39STI - Set Interrupt Flag (Enable Interrupts). . . . . . . . . . . 39STOS - Store String (Byte, Word or Doubleword). . . . . . . . . . 39STR - Store Task Register (286+ privileged). . . . . .
32、 . . . . . . 39SUB - Subtract . . . . . . . . . . . . . . . . . . . . . . . . . . 40TEST - Test For Bit Pattern. . . . . . . . . . . . . . . . . . . . 40VERR - Verify Read (286+ protected). . . . . . . . . . . . . . . . 40VERW - Verify Write (286+ protected) . . . . . . . . . . . . . . . 40WAIT/FWAIT - Event Wait. . . . . . . . . . . . . . . . . . . . . . 41WBINVD - Write-Back and Invalidate Cache (486+). . . .
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1