Base Instructions
144 x86 instructions in this extension - showing 44 per page, page 2 of 2 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| ror | ROR r/m, imm8 | Legacy | Rotates bits right. |
| sahf | SAHF | Legacy | Loads SF, ZF, AF, PF, and CF from AH. |
| sal | SAL r/m, imm8 | Legacy | Shifts bits left (Alias for SHL). |
| sar | SAR r/m, imm8 | Legacy | Shifts bits right, preserving sign bit. |
| sbb | SBB r/m, r | Legacy | Subtracts operands and the Carry Flag (CF). |
| scas | SCASB | Legacy | Compares AL/AX/EAX with memory at [EDI]. |
| scasd | SCASD | Legacy | Compares EAX with memory at [EDI]. |
| scasw | SCASW | Legacy | Compares AX with memory at [EDI]. |
| seta | SETA r/m8 | Legacy | Sets byte to 1 if CF=0 and ZF=0. |
| setae | SETAE r/m8 | Legacy | Sets byte to 1 if CF=0. |
| setb | SETB r/m8 | Legacy | Sets byte to 1 if CF=1. |
| setbe | SETBE r/m8 | Legacy | Sets byte to 1 if CF=1 or ZF=1. |
| setcc | SETcc r/m8 | Legacy | Sets byte to 1 if condition met, else 0 (e.g., SETE, SETZ). |
| setg | SETG r/m8 | Legacy | Sets byte to 1 if ZF=0 and SF=OF. |
| setge | SETGE r/m8 | Legacy | Sets byte to 1 if SF=OF. |
| setl | SETL r/m8 | Legacy | Sets byte to 1 if SF!=OF. |
| setle | SETLE r/m8 | Legacy | Sets byte to 1 if ZF=1 or SF!=OF. |
| setno | SETNO r/m8 | Legacy | Sets byte to 1 if OF=0. |
| setnp | SETNP r/m8 | Legacy | Sets byte to 1 if PF=0 (Odd Parity). |
| setns | SETNS r/m8 | Legacy | Sets byte to 1 if SF=0 (Positive). |
| setnz | SETNZ r/m8 | Legacy | Sets byte to 1 if ZF=0. |
| seto | SETO r/m8 | Legacy | Sets byte to 1 if OF=1. |
| setp | SETP r/m8 | Legacy | Sets byte to 1 if PF=1 (Even Parity). |
| sets | SETS r/m8 | Legacy | Sets byte to 1 if SF=1 (Negative). |
| setz | SETZ r/m8 | Legacy | Sets byte to 1 if ZF=1. |
| shl | SHL r/m, imm8 | Legacy | Shifts bits left (same as SAL). |
| shld | SHLD r/m, r, imm8 | Legacy | Shifts dest left, filling with bits from src. |
| shr | SHR r/m, imm8 | Legacy | Shifts bits right, filling with zeros. |
| shrd | SHRD r/m, r, imm8 | Legacy | Shifts dest right, filling with bits from src. |
| stc | STC | Legacy | Sets the CF flag to 1. |
| std | STD | Legacy | Sets DF to 1 (String operations decrement). |
| sti | STI | Legacy | Enables maskable hardware interrupts. |
| stos | STOSB | Legacy | Stores AL/AX/EAX to memory at [EDI]. |
| stosd | STOSD | Legacy | Stores EAX to memory at [EDI]. |
| stosw | STOSW | Legacy | Stores AX to memory at [EDI]. |
| sub | SUB r/m, r | Legacy | Subtracts src from dest. |
| test | TEST r/m, r | Legacy | ANDs operands and updates flags (result discarded). |
| ud0 | UD0 | Legacy | Generates invalid opcode exception. |
| ud2 | UD2 | Legacy | Generates an invalid opcode exception. |
| wait | WAIT | Legacy | Wait for FPU (same as FWAIT). |
| xadd | XADD r/m, r | Legacy | Exchanges dest and src, then loads sum into dest. |
| xchg | XCHG r/m, r | Legacy | Exchanges content of two operands. |
| xlat | XLAT m8 | Legacy | Replaces AL with byte from table at [EBX+AL]. |
| xor | XOR r/m, r | Legacy | Performs bitwise XOR. |