# x86-64 Instructions

[x86-64 Documentation](https://asm-editor.specy.app/documentation/x86.md)

Web page: https://asm-editor.specy.app/documentation/x86/instruction

The integer instruction set, with the operand forms NASM accepts.

273 entries, each with its own page of markdown:

## Data movement

- [`cmova`](https://asm-editor.specy.app/documentation/x86/instruction/cmova.md) `reg, r/m`: Copies the source into the destination when the last comparison found above (CF is 0 and ZF is 0).
- [`cmovae`](https://asm-editor.specy.app/documentation/x86/instruction/cmovae.md) `reg, r/m`: Copies the source into the destination when the last comparison found above or equal (CF is 0).
- [`cmovb`](https://asm-editor.specy.app/documentation/x86/instruction/cmovb.md) `reg, r/m`: Copies the source into the destination when the last comparison found below (CF is 1).
- [`cmovbe`](https://asm-editor.specy.app/documentation/x86/instruction/cmovbe.md) `reg, r/m`: Copies the source into the destination when the last comparison found below or equal (CF is 1 or ZF is 1).
- [`cmovc`](https://asm-editor.specy.app/documentation/x86/instruction/cmovc.md) `reg, r/m`: Copies the source into the destination when the carry flag is set (CF is 1).
- [`cmove`](https://asm-editor.specy.app/documentation/x86/instruction/cmove.md) `reg, r/m`: Copies the source into the destination when the last comparison found equal (ZF is 1).
- [`cmovg`](https://asm-editor.specy.app/documentation/x86/instruction/cmovg.md) `reg, r/m`: Copies the source into the destination when the last comparison found greater (ZF is 0 and SF equals OF).
- [`cmovge`](https://asm-editor.specy.app/documentation/x86/instruction/cmovge.md) `reg, r/m`: Copies the source into the destination when the last comparison found greater or equal (SF equals OF).
- [`cmovl`](https://asm-editor.specy.app/documentation/x86/instruction/cmovl.md) `reg, r/m`: Copies the source into the destination when the last comparison found less (SF differs from OF).
- [`cmovle`](https://asm-editor.specy.app/documentation/x86/instruction/cmovle.md) `reg, r/m`: Copies the source into the destination when the last comparison found less or equal (ZF is 1 or SF differs from OF).
- [`cmovna`](https://asm-editor.specy.app/documentation/x86/instruction/cmovna.md) `reg, r/m`: Copies the source into the destination when the last comparison found not above (CF is 1 or ZF is 1).
- [`cmovnae`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnae.md) `reg, r/m`: Copies the source into the destination when the last comparison found not above or equal (CF is 1).
- [`cmovnb`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnb.md) `reg, r/m`: Copies the source into the destination when the last comparison found not below (CF is 0).
- [`cmovnbe`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnbe.md) `reg, r/m`: Copies the source into the destination when the last comparison found not below or equal (CF is 0 and ZF is 0).
- [`cmovnc`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnc.md) `reg, r/m`: Copies the source into the destination when the carry flag is clear (CF is 0).
- [`cmovne`](https://asm-editor.specy.app/documentation/x86/instruction/cmovne.md) `reg, r/m`: Copies the source into the destination when the last comparison found not equal (ZF is 0).
- [`cmovng`](https://asm-editor.specy.app/documentation/x86/instruction/cmovng.md) `reg, r/m`: Copies the source into the destination when the last comparison found not greater (ZF is 1 or SF differs from OF).
- [`cmovnge`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnge.md) `reg, r/m`: Copies the source into the destination when the last comparison found not greater or equal (SF differs from OF).
- [`cmovnl`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnl.md) `reg, r/m`: Copies the source into the destination when the last comparison found not less (SF equals OF).
- [`cmovnle`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnle.md) `reg, r/m`: Copies the source into the destination when the last comparison found not less or equal (ZF is 0 and SF equals OF).
- [`cmovno`](https://asm-editor.specy.app/documentation/x86/instruction/cmovno.md) `reg, r/m`: Copies the source into the destination when the overflow flag is clear (OF is 0).
- [`cmovnp`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnp.md) `reg, r/m`: Copies the source into the destination when the parity flag is clear (PF is 0).
- [`cmovns`](https://asm-editor.specy.app/documentation/x86/instruction/cmovns.md) `reg, r/m`: Copies the source into the destination when the sign flag is clear (SF is 0).
- [`cmovnz`](https://asm-editor.specy.app/documentation/x86/instruction/cmovnz.md) `reg, r/m`: Copies the source into the destination when the zero flag is clear (ZF is 0).
- [`cmovo`](https://asm-editor.specy.app/documentation/x86/instruction/cmovo.md) `reg, r/m`: Copies the source into the destination when the overflow flag is set (OF is 1).
- [`cmovp`](https://asm-editor.specy.app/documentation/x86/instruction/cmovp.md) `reg, r/m`: Copies the source into the destination when the parity flag is set (PF is 1).
- [`cmovpe`](https://asm-editor.specy.app/documentation/x86/instruction/cmovpe.md) `reg, r/m`: Copies the source into the destination when parity is even (PF is 1).
- [`cmovpo`](https://asm-editor.specy.app/documentation/x86/instruction/cmovpo.md) `reg, r/m`: Copies the source into the destination when parity is odd (PF is 0).
- [`cmovs`](https://asm-editor.specy.app/documentation/x86/instruction/cmovs.md) `reg, r/m`: Copies the source into the destination when the sign flag is set (SF is 1).
- [`cmovz`](https://asm-editor.specy.app/documentation/x86/instruction/cmovz.md) `reg, r/m`: Copies the source into the destination when the zero flag is set (ZF is 1).
- [`lea`](https://asm-editor.specy.app/documentation/x86/instruction/lea.md) `reg, mem | reg, imm`: Computes the effective address of the memory operand and stores it in the destination register, without accessing memory.
- [`mov`](https://asm-editor.specy.app/documentation/x86/instruction/mov.md) `r/m, reg | reg, r/m | reg, imm | …`: Copies the contents of the source (second) operand into the destination (first) operand.
- [`movabs`](https://asm-editor.specy.app/documentation/x86/instruction/movabs.md) `reg, imm`: Copies a full-width immediate into a register, or transfers accumulator data using an absolute memory offset.
- [`movbe`](https://asm-editor.specy.app/documentation/x86/instruction/movbe.md) `reg, mem | mem, reg`: Moves data between a register and memory, reversing the byte order as it is copied.
- [`movrs`](https://asm-editor.specy.app/documentation/x86/instruction/movrs.md) `reg, mem`: Loads a register from memory using the MOVRS encoding, which hints that the data is read-shared.
- [`xchg`](https://asm-editor.specy.app/documentation/x86/instruction/xchg.md) `reg, r/m | r/m, reg`: Exchanges the values of its two operands.

## Stack

- [`enter`](https://asm-editor.specy.app/documentation/x86/instruction/enter.md) `imm16, imm8 | imm16`: Constructs a stack frame for a high-level language procedure call, saving rbp and reserving space for its local variables.
- [`enterd`](https://asm-editor.specy.app/documentation/x86/instruction/enterd.md) `imm16, imm8 | imm16`: Creates a frame with 32-bit frame pointers; unavailable in 64-bit mode.
- [`enterq`](https://asm-editor.specy.app/documentation/x86/instruction/enterq.md) `imm16, imm8 | imm16`: Creates a 64-bit stack frame for a procedure call: pushes rbp, sets rbp to rsp, and reserves the local bytes.
- [`enterw`](https://asm-editor.specy.app/documentation/x86/instruction/enterw.md) `imm16, imm8 | imm16`: Creates a frame with 16-bit frame pointers and reserves local storage.
- [`leave`](https://asm-editor.specy.app/documentation/x86/instruction/leave.md): Destroys the stack frame made by enter by setting rsp to rbp and popping the saved rbp.
- [`leaved`](https://asm-editor.specy.app/documentation/x86/instruction/leaved.md): Dismantles a 32-bit frame; unavailable in 64-bit mode.
- [`leaveq`](https://asm-editor.specy.app/documentation/x86/instruction/leaveq.md): Releases a 64-bit stack frame by setting rsp to rbp and popping the saved rbp, undoing enter.
- [`leavew`](https://asm-editor.specy.app/documentation/x86/instruction/leavew.md): Dismantles a frame using a 16-bit saved frame pointer.
- [`pop`](https://asm-editor.specy.app/documentation/x86/instruction/pop.md) `reg | r/m | fs | …`: Pops a 64-bit value using rsp by default, or a 16-bit value when a word operand is selected.
- [`popa`](https://asm-editor.specy.app/documentation/x86/instruction/popa.md): Pops the general registers that pusha saved, discarding the saved sp; not valid in 64-bit mode.
- [`popad`](https://asm-editor.specy.app/documentation/x86/instruction/popad.md): Pops eight 32-bit values into edi, esi, ebp, ebx, edx, ecx and eax, discarding the saved esp.
- [`popaw`](https://asm-editor.specy.app/documentation/x86/instruction/popaw.md): Pops eight 16-bit words into di, si, bp, bx, dx, cx and ax, discarding the saved sp.
- [`popf`](https://asm-editor.specy.app/documentation/x86/instruction/popf.md): Consumes an 8-byte stack value to restore writable flags, subject to privilege restrictions.
- [`popfd`](https://asm-editor.specy.app/documentation/x86/instruction/popfd.md): Restores writable flags from a 32-bit stack value; unavailable in 64-bit mode.
- [`popfq`](https://asm-editor.specy.app/documentation/x86/instruction/popfq.md): Consumes an 8-byte stack value to restore writable flags, subject to privilege restrictions.
- [`popfw`](https://asm-editor.specy.app/documentation/x86/instruction/popfw.md): Consumes a 2-byte stack value to restore writable low flags, subject to privilege restrictions.
- [`push`](https://asm-editor.specy.app/documentation/x86/instruction/push.md) `reg | r/m | imm | …`: Pushes a 64-bit value using rsp by default, or a 16-bit value when a word operand is selected.
- [`pusha`](https://asm-editor.specy.app/documentation/x86/instruction/pusha.md): Pushes ax, cx, dx, bx, sp, bp, si and di onto the stack in turn, at the mode's default operand size.
- [`pushad`](https://asm-editor.specy.app/documentation/x86/instruction/pushad.md): Pushes eax, ecx, edx, ebx, the original esp, ebp, esi and edi, lowering esp by 32 bytes.
- [`pushaw`](https://asm-editor.specy.app/documentation/x86/instruction/pushaw.md): Pushes the 16-bit registers ax, cx, dx, bx, sp, bp, si and di onto the stack in turn, lowering sp by a total of 16.
- [`pushf`](https://asm-editor.specy.app/documentation/x86/instruction/pushf.md): Pushes rflags onto the stack as an 8-byte value and decrements rsp by 8.
- [`pushfd`](https://asm-editor.specy.app/documentation/x86/instruction/pushfd.md): Pushes a 32-bit flags image; unavailable in 64-bit mode.
- [`pushfq`](https://asm-editor.specy.app/documentation/x86/instruction/pushfq.md): Pushes the 64-bit rflags register onto the stack, lowering rsp by 8.
- [`pushfw`](https://asm-editor.specy.app/documentation/x86/instruction/pushfw.md): Pushes the low 16 bits of rflags onto the stack as a word and decrements rsp by 2.

## Arithmetic

- [`aaa`](https://asm-editor.specy.app/documentation/x86/instruction/aaa.md): Adjusts al after an unpacked BCD addition so it holds one decimal digit, carrying into ah when the low digit overflows.
- [`aad`](https://asm-editor.specy.app/documentation/x86/instruction/aad.md) `[imm8]`: Converts unpacked BCD digits in ah and al into one binary value in al, with ah as the tens digit, and zeroes ah.
- [`aam`](https://asm-editor.specy.app/documentation/x86/instruction/aam.md) `[imm8]`: Divides al by 10, or by an imm8 base, leaving the quotient in ah and the remainder in al.
- [`aas`](https://asm-editor.specy.app/documentation/x86/instruction/aas.md): Adjusts al after an unpacked BCD subtraction so it holds one decimal digit, borrowing from ah when the low digit underflows.
- [`adc`](https://asm-editor.specy.app/documentation/x86/instruction/adc.md) `r/m, reg | reg, r/m | r/m, imm`: Adds the source and the carry flag to the destination, leaving the sum in the destination.
- [`add`](https://asm-editor.specy.app/documentation/x86/instruction/add.md) `r/m, reg | reg, r/m | r/m, imm`: Adds the source (second) operand to the destination (first) operand and leaves the sum in the destination.
- [`cbw`](https://asm-editor.specy.app/documentation/x86/instruction/cbw.md): Sign-extends al into ax, filling ah with copies of the sign bit of al.
- [`cdq`](https://asm-editor.specy.app/documentation/x86/instruction/cdq.md): Sign-extends eax into edx:eax, filling edx with copies of the sign bit of eax.
- [`cdqe`](https://asm-editor.specy.app/documentation/x86/instruction/cdqe.md): Sign-extends eax into rax, filling the upper 32 bits with copies of eax's sign bit so 32-bit signed values work in 64-bit arithmetic.
- [`cqo`](https://asm-editor.specy.app/documentation/x86/instruction/cqo.md): Sign-extends rax into rdx:rax, filling rdx with copies of the sign bit of rax.
- [`cwd`](https://asm-editor.specy.app/documentation/x86/instruction/cwd.md): Sign-extends ax into dx:ax, filling dx with copies of the sign bit of ax.
- [`cwde`](https://asm-editor.specy.app/documentation/x86/instruction/cwde.md): Sign-extends ax into eax, filling the upper 16 bits with copies of the sign bit of ax.
- [`daa`](https://asm-editor.specy.app/documentation/x86/instruction/daa.md): Adjusts al after a packed BCD addition so each nibble holds one decimal digit, setting CF and AF as needed.
- [`das`](https://asm-editor.specy.app/documentation/x86/instruction/das.md): Adjusts al after a packed BCD subtraction so each nibble holds one decimal digit, setting CF and AF as needed.
- [`dec`](https://asm-editor.specy.app/documentation/x86/instruction/dec.md) `r/m`: Subtracts 1 from the operand and stores the result there, leaving the carry flag unchanged.
- [`div`](https://asm-editor.specy.app/documentation/x86/instruction/div.md) `r/m`: Divides the implicit unsigned dividend selected by the operand width, producing a quotient and remainder.
- [`idiv`](https://asm-editor.specy.app/documentation/x86/instruction/idiv.md) `r/m`: Divides the implicit signed dividend selected by the operand width, producing a quotient and remainder.
- [`imul`](https://asm-editor.specy.app/documentation/x86/instruction/imul.md) `r/m | reg, r/m | reg, r/m, imm`: Multiplies signed integers, producing a full implicit product with one operand or a destination-width result with two or three.
- [`inc`](https://asm-editor.specy.app/documentation/x86/instruction/inc.md) `r/m`: Adds 1 to the operand and stores the result there, leaving the carry flag unchanged.
- [`movsx`](https://asm-editor.specy.app/documentation/x86/instruction/movsx.md) `reg, r/m`: Copies a source into a register, sign-extending when the destination is wider.
- [`movsxb`](https://asm-editor.specy.app/documentation/x86/instruction/movsxb.md) `reg, r/m8 | ax, al`: Sign-extends the byte source to the width of the destination register and copies the result there.
- [`movsxd`](https://asm-editor.specy.app/documentation/x86/instruction/movsxd.md) `reg, r/m32 | rax, eax`: Copies a 32-bit source into a register, sign-extending for a 64-bit destination.
- [`movsxw`](https://asm-editor.specy.app/documentation/x86/instruction/movsxw.md) `reg, r/m16 | eax, ax`: Copies a word source into a register, sign-extending when the destination is wider.
- [`movzx`](https://asm-editor.specy.app/documentation/x86/instruction/movzx.md) `reg, r/m`: Copies a source into a register, filling added high bits with zeros when the destination is wider.
- [`movzxb`](https://asm-editor.specy.app/documentation/x86/instruction/movzxb.md) `reg, r/m8`: Zero-extends the byte source to the width of the destination register, filling the high bits with zero.
- [`movzxd`](https://asm-editor.specy.app/documentation/x86/instruction/movzxd.md) `reg, r/m32`: Copies a doubleword source into the destination, zeroing the high bits when the destination is wider.
- [`movzxw`](https://asm-editor.specy.app/documentation/x86/instruction/movzxw.md) `reg, r/m16`: Copies a word source into a register, filling added high bits with zeros when the destination is wider.
- [`mul`](https://asm-editor.specy.app/documentation/x86/instruction/mul.md) `r/m | reg, r/m | reg, r/m, imm`: Multiplies unsigned integers into the full implicit product in the one-operand form.
- [`neg`](https://asm-editor.specy.app/documentation/x86/instruction/neg.md) `r/m`: Replaces the operand with its two's complement, which inverts every bit and then adds one.
- [`sbb`](https://asm-editor.specy.app/documentation/x86/instruction/sbb.md) `r/m, reg | reg, r/m | r/m, imm`: Subtracts the source and CF from the destination, storing the result there and setting the flags.
- [`sub`](https://asm-editor.specy.app/documentation/x86/instruction/sub.md) `r/m, reg | reg, r/m | r/m, imm`: Subtracts the source (second) operand from the destination (first) operand and leaves the difference in the destination.

## Logic

- [`and`](https://asm-editor.specy.app/documentation/x86/instruction/and.md) `r/m, reg | reg, r/m | r/m, imm`: Combines the destination and source bit by bit with AND, storing the result in the destination.
- [`bsf`](https://asm-editor.specy.app/documentation/x86/instruction/bsf.md) `reg, r/m`: Searches the source for its least significant set bit and, if one is found, stores its index in the destination.
- [`bsr`](https://asm-editor.specy.app/documentation/x86/instruction/bsr.md) `reg, r/m`: Stores the index of the most significant set bit of the source in the destination, or sets ZF when the source is zero.
- [`bswap`](https://asm-editor.specy.app/documentation/x86/instruction/bswap.md) `reg | ax | cx | …`: Reverses the byte order of a 32-bit or 64-bit register, so the lowest byte swaps places with the highest.
- [`bt`](https://asm-editor.specy.app/documentation/x86/instruction/bt.md) `r/m, reg | r/m, imm8`: Copies the bit at the index given by the second operand into CF, leaving the operand unchanged.
- [`btc`](https://asm-editor.specy.app/documentation/x86/instruction/btc.md) `r/m, reg | r/m, imm8`: Copies the selected bit into CF, then complements that bit in the operand.
- [`btr`](https://asm-editor.specy.app/documentation/x86/instruction/btr.md) `r/m, reg | r/m, imm8`: Copies the selected bit into CF, then clears that bit in the operand.
- [`bts`](https://asm-editor.specy.app/documentation/x86/instruction/bts.md) `r/m, reg | r/m, imm8`: Copies the selected bit into CF, then sets that bit in the operand.
- [`ibts`](https://asm-editor.specy.app/documentation/x86/instruction/ibts.md) `r/m, reg` (Undocumented): Inserts a bit string from the source operand into the destination.
- [`not`](https://asm-editor.specy.app/documentation/x86/instruction/not.md) `r/m`: Inverts every bit of the operand to give its ones complement, leaving the flags unchanged.
- [`or`](https://asm-editor.specy.app/documentation/x86/instruction/or.md) `r/m, reg | reg, r/m | r/m, imm`: Combines the destination and source bit by bit with OR, storing the result in the destination.
- [`xbts`](https://asm-editor.specy.app/documentation/x86/instruction/xbts.md) `r/m, reg` (Undocumented): Extracts a bit string from the source operand into the destination.
- [`xor`](https://asm-editor.specy.app/documentation/x86/instruction/xor.md) `r/m, reg | reg, r/m | r/m, imm`: Combines the destination and source bit by bit with XOR, storing the result in the destination.

## Shifts and rotates

- [`rcl`](https://asm-editor.specy.app/documentation/x86/instruction/rcl.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Rotates the destination (first) operand left through the carry flag, treating CF as one extra bit in the rotation.
- [`rcr`](https://asm-editor.specy.app/documentation/x86/instruction/rcr.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Rotates the destination right by the given count through CF; the low bit moves into CF each step.
- [`rol`](https://asm-editor.specy.app/documentation/x86/instruction/rol.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Rotates the destination (first) operand left by the given count, moving bits that leave the top back in at the bottom.
- [`ror`](https://asm-editor.specy.app/documentation/x86/instruction/ror.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Rotates the destination right by the given count; bits shifted out of the bottom re-enter at the top.
- [`sal`](https://asm-editor.specy.app/documentation/x86/instruction/sal.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Shifts the destination (first) operand left, filling the vacated low bits with zeros; this is the same operation as shl.
- [`sar`](https://asm-editor.specy.app/documentation/x86/instruction/sar.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Shifts the destination right arithmetically by the given count, filling the top bits with copies of the sign bit.
- [`shl`](https://asm-editor.specy.app/documentation/x86/instruction/shl.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Shifts the destination (first) operand left by the given count, filling the vacated low bits with zeros.
- [`shld`](https://asm-editor.specy.app/documentation/x86/instruction/shld.md) `r/m, reg, imm8 | r/m, reg, cl`: Performs a double-precision left shift, filling the vacated low bits of the destination with high bits from the source (second) operand.
- [`shr`](https://asm-editor.specy.app/documentation/x86/instruction/shr.md) `r/m, imm8 | r/m, 1 | r/m, cl`: Shifts the destination right logically by the given count, filling the top bits with zeros.
- [`shrd`](https://asm-editor.specy.app/documentation/x86/instruction/shrd.md) `r/m, reg, imm8 | r/m, reg, cl`: Shifts the destination right by the given count, filling its top bits from the low bits of the source, which stays unchanged.

## Comparison

- [`cmp`](https://asm-editor.specy.app/documentation/x86/instruction/cmp.md) `r/m, reg | reg, r/m | r/m, imm`: Subtracts the source from the destination and sets the flags, discarding the result.
- [`salc`](https://asm-editor.specy.app/documentation/x86/instruction/salc.md) (Undocumented): Sets al to 0xff (all ones) if the carry flag is set, and to 0x00 otherwise.
- [`seta`](https://asm-editor.specy.app/documentation/x86/instruction/seta.md) `r/m8`: Sets the destination byte to 1 when the last comparison found above (CF is 0 and ZF is 0), otherwise to 0.
- [`setae`](https://asm-editor.specy.app/documentation/x86/instruction/setae.md) `r/m8`: Sets the destination byte to 1 when the last comparison found above or equal (CF is 0), otherwise to 0.
- [`setb`](https://asm-editor.specy.app/documentation/x86/instruction/setb.md) `r/m8`: Sets the destination byte to 1 when the last comparison found below (CF is 1), otherwise to 0.
- [`setbe`](https://asm-editor.specy.app/documentation/x86/instruction/setbe.md) `r/m8`: Sets the destination byte to 1 when the last comparison found below or equal (CF is 1 or ZF is 1), otherwise to 0.
- [`setc`](https://asm-editor.specy.app/documentation/x86/instruction/setc.md) `r/m8`: Sets the 8-bit operand to 1 if the carry flag is set, and to 0 otherwise.
- [`sete`](https://asm-editor.specy.app/documentation/x86/instruction/sete.md) `r/m8`: Sets the destination byte to 1 when the last comparison found equal (ZF is 1), otherwise to 0.
- [`setg`](https://asm-editor.specy.app/documentation/x86/instruction/setg.md) `r/m8`: Sets the destination byte to 1 when the last comparison found greater (ZF is 0 and SF equals OF), otherwise to 0.
- [`setge`](https://asm-editor.specy.app/documentation/x86/instruction/setge.md) `r/m8`: Sets the destination byte to 1 when the last comparison found greater or equal (SF equals OF), otherwise to 0.
- [`setl`](https://asm-editor.specy.app/documentation/x86/instruction/setl.md) `r/m8`: Sets the destination byte to 1 when the last comparison found less (SF differs from OF), otherwise to 0.
- [`setle`](https://asm-editor.specy.app/documentation/x86/instruction/setle.md) `r/m8`: Sets the destination byte to 1 when the last comparison found less or equal (ZF is 1 or SF differs from OF), otherwise to 0.
- [`setna`](https://asm-editor.specy.app/documentation/x86/instruction/setna.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not above (CF is 1 or ZF is 1), otherwise to 0.
- [`setnae`](https://asm-editor.specy.app/documentation/x86/instruction/setnae.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not above or equal (CF is 1), otherwise to 0.
- [`setnb`](https://asm-editor.specy.app/documentation/x86/instruction/setnb.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not below (CF is 0), otherwise to 0.
- [`setnbe`](https://asm-editor.specy.app/documentation/x86/instruction/setnbe.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not below or equal (CF is 0 and ZF is 0), otherwise to 0.
- [`setnc`](https://asm-editor.specy.app/documentation/x86/instruction/setnc.md) `r/m8`: Sets the destination byte to 1 when the carry flag is clear (CF is 0), otherwise to 0.
- [`setne`](https://asm-editor.specy.app/documentation/x86/instruction/setne.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not equal (ZF is 0), otherwise to 0.
- [`setng`](https://asm-editor.specy.app/documentation/x86/instruction/setng.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not greater (ZF is 1 or SF differs from OF), otherwise to 0.
- [`setnge`](https://asm-editor.specy.app/documentation/x86/instruction/setnge.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not greater or equal (SF differs from OF), otherwise to 0.
- [`setnl`](https://asm-editor.specy.app/documentation/x86/instruction/setnl.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not less (SF equals OF), otherwise to 0.
- [`setnle`](https://asm-editor.specy.app/documentation/x86/instruction/setnle.md) `r/m8`: Sets the destination byte to 1 when the last comparison found not less or equal (ZF is 0 and SF equals OF), otherwise to 0.
- [`setno`](https://asm-editor.specy.app/documentation/x86/instruction/setno.md) `r/m8`: Sets the destination byte to 1 when the overflow flag is clear (OF is 0), otherwise to 0.
- [`setnp`](https://asm-editor.specy.app/documentation/x86/instruction/setnp.md) `r/m8`: Sets the destination byte to 1 when the parity flag is clear (PF is 0), otherwise to 0.
- [`setns`](https://asm-editor.specy.app/documentation/x86/instruction/setns.md) `r/m8`: Sets the destination byte to 1 when the sign flag is clear (SF is 0), otherwise to 0.
- [`setnz`](https://asm-editor.specy.app/documentation/x86/instruction/setnz.md) `r/m8`: Sets the destination byte to 1 when the zero flag is clear (ZF is 0), otherwise to 0.
- [`seto`](https://asm-editor.specy.app/documentation/x86/instruction/seto.md) `r/m8`: Sets the destination byte to 1 when the overflow flag is set (OF is 1), otherwise to 0.
- [`setp`](https://asm-editor.specy.app/documentation/x86/instruction/setp.md) `r/m8`: Sets the destination byte to 1 when the parity flag is set (PF is 1), otherwise to 0.
- [`setpe`](https://asm-editor.specy.app/documentation/x86/instruction/setpe.md) `r/m8`: Sets the destination byte to 1 when parity is even (PF is 1), otherwise to 0.
- [`setpo`](https://asm-editor.specy.app/documentation/x86/instruction/setpo.md) `r/m8`: Sets the destination byte to 1 when parity is odd (PF is 0), otherwise to 0.
- [`sets`](https://asm-editor.specy.app/documentation/x86/instruction/sets.md) `r/m8`: Stores 1 in the destination byte when the sign flag is set (SF is 1), otherwise 0.
- [`setz`](https://asm-editor.specy.app/documentation/x86/instruction/setz.md) `r/m8`: Sets the destination byte to 1 when the zero flag is set (ZF is 1), otherwise to 0.
- [`test`](https://asm-editor.specy.app/documentation/x86/instruction/test.md) `r/m, reg | r/m, imm`: Sets the flags from a bitwise AND of the two operands, without storing the result.

## Control flow

- [`call`](https://asm-editor.specy.app/documentation/x86/instruction/call.md) `near imm64 | near r/m64 | far mem`: Calls a subroutine by pushing the return address onto the stack (with cs for a far call), then jumps to the given address.
- [`ja`](https://asm-editor.specy.app/documentation/x86/instruction/ja.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found above (CF is 0 and ZF is 0).
- [`jae`](https://asm-editor.specy.app/documentation/x86/instruction/jae.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found above or equal (CF is 0).
- [`jb`](https://asm-editor.specy.app/documentation/x86/instruction/jb.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found below (CF is 1).
- [`jbe`](https://asm-editor.specy.app/documentation/x86/instruction/jbe.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found below or equal (CF is 1 or ZF is 1).
- [`jc`](https://asm-editor.specy.app/documentation/x86/instruction/jc.md) `short imm8 | imm | near imm32`: Jumps to the target when the carry flag is set (CF is 1).
- [`jcxz`](https://asm-editor.specy.app/documentation/x86/instruction/jcxz.md) `imm8, ecx | imm8, rcx`: Jumps a short distance when the selected counter is zero; the cx form is unavailable in 64-bit mode.
- [`je`](https://asm-editor.specy.app/documentation/x86/instruction/je.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found equal (ZF is 1).
- [`jecxz`](https://asm-editor.specy.app/documentation/x86/instruction/jecxz.md) `imm8`: Jumps when ecx is zero, using an 8-bit displacement from the end of the instruction.
- [`jg`](https://asm-editor.specy.app/documentation/x86/instruction/jg.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found greater (ZF is 0 and SF equals OF).
- [`jge`](https://asm-editor.specy.app/documentation/x86/instruction/jge.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found greater or equal (SF equals OF).
- [`jl`](https://asm-editor.specy.app/documentation/x86/instruction/jl.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found less (SF differs from OF).
- [`jle`](https://asm-editor.specy.app/documentation/x86/instruction/jle.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found less or equal (ZF is 1 or SF differs from OF).
- [`jmp`](https://asm-editor.specy.app/documentation/x86/instruction/jmp.md) `short imm8 | imm | near imm32 | …`: Jumps unconditionally to the given address.
- [`jmpe`](https://asm-editor.specy.app/documentation/x86/instruction/jmpe.md) `near imm | near r/m`: On an Itanium running IA-32 code, jumped to the target and switched to the IA-64 instruction set; x86 processors raise an invalid-opcode fault instead.
- [`jna`](https://asm-editor.specy.app/documentation/x86/instruction/jna.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not above (CF is 1 or ZF is 1).
- [`jnae`](https://asm-editor.specy.app/documentation/x86/instruction/jnae.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not above or equal (CF is 1).
- [`jnb`](https://asm-editor.specy.app/documentation/x86/instruction/jnb.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not below (CF is 0).
- [`jnbe`](https://asm-editor.specy.app/documentation/x86/instruction/jnbe.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not below or equal (CF is 0 and ZF is 0).
- [`jnc`](https://asm-editor.specy.app/documentation/x86/instruction/jnc.md) `short imm8 | imm | near imm32`: Jumps to the target when the carry flag is clear (CF is 0).
- [`jne`](https://asm-editor.specy.app/documentation/x86/instruction/jne.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not equal (ZF is 0).
- [`jng`](https://asm-editor.specy.app/documentation/x86/instruction/jng.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not greater (ZF is 1 or SF differs from OF).
- [`jnge`](https://asm-editor.specy.app/documentation/x86/instruction/jnge.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not greater or equal (SF differs from OF).
- [`jnl`](https://asm-editor.specy.app/documentation/x86/instruction/jnl.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not less (SF equals OF).
- [`jnle`](https://asm-editor.specy.app/documentation/x86/instruction/jnle.md) `short imm8 | imm | near imm32`: Jumps to the target when the last comparison found not less or equal (ZF is 0 and SF equals OF).
- [`jno`](https://asm-editor.specy.app/documentation/x86/instruction/jno.md) `short imm8 | imm | near imm32`: Jumps to the target when the overflow flag is clear (OF is 0).
- [`jnp`](https://asm-editor.specy.app/documentation/x86/instruction/jnp.md) `short imm8 | imm | near imm32`: Jumps to the target when the parity flag is clear (PF is 0).
- [`jns`](https://asm-editor.specy.app/documentation/x86/instruction/jns.md) `short imm8 | imm | near imm32`: Jumps to the target when the sign flag is clear (SF is 0).
- [`jnz`](https://asm-editor.specy.app/documentation/x86/instruction/jnz.md) `short imm8 | imm | near imm32`: Jumps to the target when the zero flag is clear (ZF is 0).
- [`jo`](https://asm-editor.specy.app/documentation/x86/instruction/jo.md) `short imm8 | imm | near imm32`: Jumps to the target when the overflow flag is set (OF is 1).
- [`jp`](https://asm-editor.specy.app/documentation/x86/instruction/jp.md) `short imm8 | imm | near imm32`: Jumps to the target when the parity flag is set (PF is 1).
- [`jpe`](https://asm-editor.specy.app/documentation/x86/instruction/jpe.md) `short imm8 | imm | near imm32`: Jumps to the target when parity is even (PF is 1).
- [`jpo`](https://asm-editor.specy.app/documentation/x86/instruction/jpo.md) `short imm8 | imm | near imm32`: Jumps to the target when parity is odd (PF is 0).
- [`jrcxz`](https://asm-editor.specy.app/documentation/x86/instruction/jrcxz.md) `imm8`: Jumps when rcx is zero, using an 8-bit displacement from the end of the instruction.
- [`js`](https://asm-editor.specy.app/documentation/x86/instruction/js.md) `short imm8 | imm | near imm32`: Jumps to the target when the sign flag is set (SF is 1).
- [`jz`](https://asm-editor.specy.app/documentation/x86/instruction/jz.md) `short imm8 | imm | near imm32`: Jumps to the target when the zero flag is set (ZF is 1).
- [`loop`](https://asm-editor.specy.app/documentation/x86/instruction/loop.md) `imm8 | imm8, ecx | imm8, rcx`: Decrements rcx by one and jumps to the short target if the counter is non-zero.
- [`loopd`](https://asm-editor.specy.app/documentation/x86/instruction/loopd.md) `imm8`: Decrements ecx by one and jumps to the short target if the counter is non-zero.
- [`loope`](https://asm-editor.specy.app/documentation/x86/instruction/loope.md) `imm8 | imm8, ecx | imm8, rcx`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 1.
- [`looped`](https://asm-editor.specy.app/documentation/x86/instruction/looped.md) `imm8`: Decrements ecx by one and jumps to the short target if the counter is non-zero and ZF is 1.
- [`loopeq`](https://asm-editor.specy.app/documentation/x86/instruction/loopeq.md) `imm8`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 1.
- [`loopew`](https://asm-editor.specy.app/documentation/x86/instruction/loopew.md) `imm8`: Decrements cx by one and jumps to the short target if the counter is non-zero and ZF is 1; unavailable in 64-bit mode.
- [`loopne`](https://asm-editor.specy.app/documentation/x86/instruction/loopne.md) `imm8 | imm8, ecx | imm8, rcx`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 0.
- [`loopned`](https://asm-editor.specy.app/documentation/x86/instruction/loopned.md) `imm8`: Decrements ecx by one and jumps to the short target if the counter is non-zero and ZF is 0.
- [`loopneq`](https://asm-editor.specy.app/documentation/x86/instruction/loopneq.md) `imm8`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 0.
- [`loopnew`](https://asm-editor.specy.app/documentation/x86/instruction/loopnew.md) `imm8`: Decrements cx by one and jumps to the short target if the counter is non-zero and ZF is 0; unavailable in 64-bit mode.
- [`loopnz`](https://asm-editor.specy.app/documentation/x86/instruction/loopnz.md) `imm8 | imm8, ecx | imm8, rcx`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 0.
- [`loopnzd`](https://asm-editor.specy.app/documentation/x86/instruction/loopnzd.md) `imm8`: Decrements ecx by one and jumps to the short target if the counter is non-zero and ZF is 0.
- [`loopnzq`](https://asm-editor.specy.app/documentation/x86/instruction/loopnzq.md) `imm8`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 0.
- [`loopnzw`](https://asm-editor.specy.app/documentation/x86/instruction/loopnzw.md) `imm8`: Decrements cx by one and jumps to the short target if the counter is non-zero and ZF is 0; unavailable in 64-bit mode.
- [`loopq`](https://asm-editor.specy.app/documentation/x86/instruction/loopq.md) `imm8`: Decrements rcx by one and jumps to the short target if the counter is non-zero.
- [`loopw`](https://asm-editor.specy.app/documentation/x86/instruction/loopw.md) `imm8`: Decrements cx by one and jumps to the short target if the counter is non-zero; unavailable in 64-bit mode.
- [`loopz`](https://asm-editor.specy.app/documentation/x86/instruction/loopz.md) `imm8 | imm8, ecx | imm8, rcx`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 1.
- [`loopzd`](https://asm-editor.specy.app/documentation/x86/instruction/loopzd.md) `imm8`: Decrements ecx by one and jumps to the short target if the counter is non-zero and ZF is 1.
- [`loopzq`](https://asm-editor.specy.app/documentation/x86/instruction/loopzq.md) `imm8`: Decrements rcx by one and jumps to the short target if the counter is non-zero and ZF is 1.
- [`loopzw`](https://asm-editor.specy.app/documentation/x86/instruction/loopzw.md) `imm8`: Decrements cx by one and jumps to the short target if the counter is non-zero and ZF is 1; unavailable in 64-bit mode.
- [`ret`](https://asm-editor.specy.app/documentation/x86/instruction/ret.md) `[imm16]`: Pops the 8-byte return address from the stack into rip and transfers control to it.
- [`retd`](https://asm-editor.specy.app/documentation/x86/instruction/retd.md) `[imm16]`: Returns to a 32-bit near offset; unavailable in 64-bit mode.
- [`retf`](https://asm-editor.specy.app/documentation/x86/instruction/retf.md) `[imm16]`: Returns across a code-segment boundary, using a 32-bit offset by default in 64-bit mode.
- [`retfd`](https://asm-editor.specy.app/documentation/x86/instruction/retfd.md) `[imm16]`: Makes a far return using a 32-bit offset and an optional unsigned cleanup byte count.
- [`retfq`](https://asm-editor.specy.app/documentation/x86/instruction/retfq.md) `[imm16]`: Makes a 64-bit far return: pops rip, then cs, then adds the optional imm16 to rsp.
- [`retfw`](https://asm-editor.specy.app/documentation/x86/instruction/retfw.md) `[imm16]`: Makes a far return using a 16-bit offset and an optional unsigned cleanup byte count.
- [`retn`](https://asm-editor.specy.app/documentation/x86/instruction/retn.md) `[imm16]`: Pops the return address into rip and jumps there, then adds the optional imm16 to rsp.
- [`retnd`](https://asm-editor.specy.app/documentation/x86/instruction/retnd.md) `[imm16]`: Returns to a 32-bit near offset; unavailable in 64-bit mode.
- [`retnq`](https://asm-editor.specy.app/documentation/x86/instruction/retnq.md) `[imm16]`: Pops a 64-bit near return address into rip and jumps there, then adds the optional imm16 to rsp.
- [`retnw`](https://asm-editor.specy.app/documentation/x86/instruction/retnw.md) `[imm16]`: Requests the 16-bit near-return encoding, with an optional unsigned cleanup byte count.
- [`retq`](https://asm-editor.specy.app/documentation/x86/instruction/retq.md) `[imm16]`: Pops a 64-bit return address into rip and jumps there, then adds the optional imm16 to rsp.
- [`retw`](https://asm-editor.specy.app/documentation/x86/instruction/retw.md) `[imm16]`: Requests the 16-bit near-return encoding, with an optional unsigned cleanup byte count.

## Atomic

- [`cmpxchg`](https://asm-editor.specy.app/documentation/x86/instruction/cmpxchg.md) `r/m, reg`: Compares the accumulator (al, ax, eax or rax) with the destination; if equal, stores the source there and sets ZF, else clears ZF and loads the destination into the accumulator.
- [`cmpxchg16b`](https://asm-editor.specy.app/documentation/x86/instruction/cmpxchg16b.md) `mem128`: Compares rdx:rax with a 16-byte memory operand; if they match, stores rcx:rbx there, otherwise loads the operand into rdx:rax.
- [`cmpxchg486`](https://asm-editor.specy.app/documentation/x86/instruction/cmpxchg486.md) `r/m, reg` (Undocumented): Performs the cmpxchg compare-and-exchange under a non-standard opcode that some 486 processors accepted.
- [`cmpxchg8b`](https://asm-editor.specy.app/documentation/x86/instruction/cmpxchg8b.md) `mem64`: Compares the 8-byte value in memory with edx:eax; if equal, stores ecx:ebx there and sets ZF, otherwise loads it into edx:eax.
- [`xadd`](https://asm-editor.specy.app/documentation/x86/instruction/xadd.md) `r/m, reg`: Exchanges the two operands, then stores their sum in the destination (first) operand.

## Block and string

- [`cmpsb`](https://asm-editor.specy.app/documentation/x86/instruction/cmpsb.md): Compares the byte at [rsi] with the byte at [rdi] and sets the flags accordingly.
- [`cmpsd`](https://asm-editor.specy.app/documentation/x86/instruction/cmpsd.md): Compares the doubleword at [rsi] with the doubleword at [rdi], sets the flags, then advances rsi and rdi by 4, backward when DF is set.
- [`cmpsq`](https://asm-editor.specy.app/documentation/x86/instruction/cmpsq.md): Compares the quadword at [rsi] with the quadword at [rdi], sets the flags, then advances rsi and rdi by 8, backward when DF is set.
- [`cmpsw`](https://asm-editor.specy.app/documentation/x86/instruction/cmpsw.md): Compares the word at [rsi] with the word at [rdi], sets the flags, then advances rsi and rdi by 2, backward when DF is set.
- [`lodsb`](https://asm-editor.specy.app/documentation/x86/instruction/lodsb.md): Loads the byte at [rsi] into al.
- [`lodsd`](https://asm-editor.specy.app/documentation/x86/instruction/lodsd.md): Loads the doubleword at [rsi] into eax, then advances rsi by 4, backward when DF is set.
- [`lodsq`](https://asm-editor.specy.app/documentation/x86/instruction/lodsq.md): Loads the quadword at [rsi] into rax, then advances rsi by 8, backward when DF is set.
- [`lodsw`](https://asm-editor.specy.app/documentation/x86/instruction/lodsw.md): Loads the word at [rsi] into ax, then advances rsi by 2, backward when DF is set.
- [`movsb`](https://asm-editor.specy.app/documentation/x86/instruction/movsb.md): Copies the byte at [rsi] to [rdi].
- [`movsq`](https://asm-editor.specy.app/documentation/x86/instruction/movsq.md): Copies the quadword at [rsi] to [rdi], then advances rsi and rdi by 8, backward when DF is set.
- [`movsw`](https://asm-editor.specy.app/documentation/x86/instruction/movsw.md): Copies the word at [rsi] to [rdi], then advances rsi and rdi by 2, backward when DF is set.
- [`scasb`](https://asm-editor.specy.app/documentation/x86/instruction/scasb.md): Compares al with the byte at [rdi] and sets the flags accordingly.
- [`scasd`](https://asm-editor.specy.app/documentation/x86/instruction/scasd.md): Compares eax with the doubleword at [rdi], sets the flags, then advances rdi by 4, backward when DF is set.
- [`scasq`](https://asm-editor.specy.app/documentation/x86/instruction/scasq.md): Compares rax with the quadword at [rdi], sets the flags, then advances rdi by 8, backward when DF is set.
- [`scasw`](https://asm-editor.specy.app/documentation/x86/instruction/scasw.md): Compares ax with the word at [rdi], sets the flags, then advances rdi by 2, backward when DF is set.
- [`stosb`](https://asm-editor.specy.app/documentation/x86/instruction/stosb.md): Stores the byte in al at [rdi] and leaves the flags unchanged.
- [`stosd`](https://asm-editor.specy.app/documentation/x86/instruction/stosd.md): Stores eax at [rdi], then advances rdi by 4, backward when DF is set.
- [`stosq`](https://asm-editor.specy.app/documentation/x86/instruction/stosq.md): Stores rax at [rdi], then advances rdi by 8, backward when DF is set.
- [`stosw`](https://asm-editor.specy.app/documentation/x86/instruction/stosw.md): Stores ax at [rdi], then advances rdi by 2, backward when DF is set.

## Input/output

- [`insb`](https://asm-editor.specy.app/documentation/x86/instruction/insb.md) (Privileged): Reads a byte from the I/O port numbered in dx and stores it at [rdi].
- [`insd`](https://asm-editor.specy.app/documentation/x86/instruction/insd.md) (Privileged): Reads a doubleword from port dx into [es:rdi], then advances rdi by 4, backward when DF is set.
- [`insw`](https://asm-editor.specy.app/documentation/x86/instruction/insw.md) (Privileged): Reads a word from port dx into [es:rdi], then advances rdi by 2, backward when DF is set.
- [`outsb`](https://asm-editor.specy.app/documentation/x86/instruction/outsb.md) (Privileged): Loads a byte from [rsi] and writes it to the I/O port numbered in dx.
- [`outsd`](https://asm-editor.specy.app/documentation/x86/instruction/outsd.md) (Privileged): Loads a doubleword from [rsi] and writes it to port dx, then advances rsi by 4, backward when DF is set.
- [`outsw`](https://asm-editor.specy.app/documentation/x86/instruction/outsw.md) (Privileged): Loads a word from [rsi] and writes it to port dx, then advances rsi by 2, backward when DF is set.

## System

- [`bound`](https://asm-editor.specy.app/documentation/x86/instruction/bound.md) `reg, mem`: Raises a BR exception when the signed index in the register lies outside the two signed bounds stored in memory.
- [`brkpt`](https://asm-editor.specy.app/documentation/x86/instruction/brkpt.md): Raises interrupt 3, the breakpoint trap, using the one-byte encoding that debuggers insert.
- [`clc`](https://asm-editor.specy.app/documentation/x86/instruction/clc.md): Clears the carry flag (CF) to 0.
- [`cld`](https://asm-editor.specy.app/documentation/x86/instruction/cld.md): Clears the direction flag (DF), so string instructions step upward through memory.
- [`cli`](https://asm-editor.specy.app/documentation/x86/instruction/cli.md) (Privileged): Clears the interrupt flag, disabling maskable interrupts.
- [`cmc`](https://asm-editor.specy.app/documentation/x86/instruction/cmc.md): Complements the carry flag, setting it to 1 if it was 0 and to 0 if it was 1.
- [`icebp`](https://asm-editor.specy.app/documentation/x86/instruction/icebp.md): Raises interrupt 1, the debug trap, using the one-byte encoding that in-circuit emulators use.
- [`int`](https://asm-editor.specy.app/documentation/x86/instruction/int.md) `imm8`: Causes a software interrupt through the given vector number, from 0 to 255.
- [`int01`](https://asm-editor.specy.app/documentation/x86/instruction/int01.md): Raises interrupt 1, the debug trap, using the one-byte encoding.
- [`int03`](https://asm-editor.specy.app/documentation/x86/instruction/int03.md): Raises interrupt 3, the breakpoint trap, using the one-byte encoding that debuggers insert.
- [`int1`](https://asm-editor.specy.app/documentation/x86/instruction/int1.md): Raises interrupt 1, the debug trap, using the one-byte encoding.
- [`int3`](https://asm-editor.specy.app/documentation/x86/instruction/int3.md): Raises interrupt 3, the breakpoint trap, using the one-byte encoding that debuggers insert.
- [`into`](https://asm-editor.specy.app/documentation/x86/instruction/into.md): Raises an INT 4 software interrupt if and only if the overflow flag is set.
- [`iret`](https://asm-editor.specy.app/documentation/x86/instruction/iret.md): Returns from an interrupt by popping the instruction pointer, cs and the flags, and in 64-bit mode the stack pointer and ss as well, then continuing at the popped address.
- [`iretd`](https://asm-editor.specy.app/documentation/x86/instruction/iretd.md): Returns from an interrupt by popping eip, cs and eflags as 4-byte values, and in 64-bit mode esp and ss as well.
- [`iretq`](https://asm-editor.specy.app/documentation/x86/instruction/iretq.md): Returns from an interrupt by popping rip, cs, rflags, rsp and ss, the 64-bit form.
- [`iretw`](https://asm-editor.specy.app/documentation/x86/instruction/iretw.md): Returns from an interrupt by popping ip, cs and the flags as 2-byte words, and in 64-bit mode sp and ss as well.
- [`lahf`](https://asm-editor.specy.app/documentation/x86/instruction/lahf.md): Copies the low byte of rflags into ah.
- [`nop`](https://asm-editor.specy.app/documentation/x86/instruction/nop.md) `[r/m]`: Performs no operation, and execution continues with the next instruction.
- [`nop2`](https://asm-editor.specy.app/documentation/x86/instruction/nop2.md): Executes no operation, using the two-byte 66 90 encoding.
- [`sahf`](https://asm-editor.specy.app/documentation/x86/instruction/sahf.md): Loads SF, ZF, AF, PF and CF from bits 7, 6, 4, 2 and 0 of ah.
- [`stc`](https://asm-editor.specy.app/documentation/x86/instruction/stc.md): Sets the carry flag (CF) to 1.
- [`std`](https://asm-editor.specy.app/documentation/x86/instruction/std.md): Sets the direction flag (DF), so string instructions step downward through memory.
- [`sti`](https://asm-editor.specy.app/documentation/x86/instruction/sti.md) (Privileged): Sets the interrupt flag, enabling maskable interrupts.
- [`syscall`](https://asm-editor.specy.app/documentation/x86/instruction/syscall.md): Asks the operating system to do something.
- [`sysenter`](https://asm-editor.specy.app/documentation/x86/instruction/sysenter.md): Executes a fast call to a level 0 system procedure or routine.
- [`sysexit`](https://asm-editor.specy.app/documentation/x86/instruction/sysexit.md) (Privileged): Executes a fast return to privilege level 3 user code.
- [`sysret`](https://asm-editor.specy.app/documentation/x86/instruction/sysret.md) (Privileged): Returns to user code from the operating system, as the counterpart of syscall for fast entry and exit.
