Explore tens of thousands of sets crafted by our community.
Assembly Language Keywords
52
Flashcards
0/52
JMP
Causes execution to jump to a specified label or address.
INT
Generates a software interrupt by invoking the interrupt handler specified by the operand.
OR
Performs a bitwise inclusive OR operation between the two operands and stores the result in the first operand.
SAR
Shifts the bits of the operand to the right by a specified count, copying the operand's most significant bit (sign bit) into the high-order bits.
STD
Sets the direction flag, causing string operations to decrement the index registers (DI and/or SI).
SUB
Subtracts the second operand from the first and stores the result in the first operand.
MUL
Performs unsigned multiplication on the accumulator and the operand.
MOVS
Moves data from the source string operand to the destination string operand.
MOV
Copies the value from second operand to the first operand.
DEC
Decreases the value of the operand by one.
OUTS
Outputs from a string buffer in memory to a port.
JL
Jumps to a label if the first operand is less than the second after a comparison (signed comparison).
JGE
Jumps to a label if the first operand is greater than or equal to the second after a comparison (signed comparison).
JBE
Jumps to a label if the first operand is below or equal to the second after a comparison (unsigned comparison).
ENTER
Creates a stack frame for procedure parameters.
LEAVE
Destroys a stack frame created by the ENTER instruction.
INS
Inputs from a port to a string buffer in memory.
JLE
Jumps to a label if the first operand is less than or equal to the second after a comparison (signed comparison).
JAE
Jumps to a label if the first operand is above or equal to the second after a comparison (unsigned comparison).
LOCK
Used as a prefix to ensure exclusive use of shared memory in multi-processor environments.
JA
Jumps to a label if the first operand is above the second after a comparison (unsigned comparison).
PUSH
Decrements the stack pointer and then places the operand on the top of the stack.
STOS
Stores the accumulator's value into the destination string operand.
CLI
Clears the interrupt flag, disabling hardware interrupts.
STI
Sets the interrupt flag, enabling hardware interrupts.
JE
Jumps to a label if the last comparison resulted in equality (zero flag is set).
RET
Returns from a subroutine and transfers control to the instruction at the address on the top of the stack.
NOP
Performs no operation and moves to the next instruction.
SHR
Shifts the bits of the operand to the right by a specified count, inserting zeros into the high-order bits.
LEA
Loads the effective address of the operand into the specified register.
INC
Increases the value of the operand by one.
CMP
Compares two operands by performing a subtraction and updating the flags according to the result (without storing the result).
SCAS
Scans a string until it finds a byte or word that equals the accumulator's value.
REP
Used as a prefix to repeat the following instruction until the CX register decrements to zero.
LOOP
Decreases the count register (CX) by 1 and jumps to a label if CX is not zero.
CALL
Jumps to a subroutine at the specified address and saves the address of the subsequent instruction onto the stack.
HLT
Halts the processor by stopping instruction execution and placing the processor in a halt state.
AND
Performs a bitwise AND operation between the two operands and stores the result in the first operand.
NOT
Performs a bitwise NOT operation (complement) on the operand.
CMPS
Compares two string operands.
REPE/REPZ
Repeats the following instruction until the CX register decrements to zero or the zero flag becomes clear.
DIV
Divides the accumulator by the operand; the quotient is stored in the accumulator.
JG
Jumps to a label if the first operand is greater than the second after a comparison (signed comparison).
XOR
Performs a bitwise exclusive OR operation between the two operands and stores the result in the first operand.
POP
Retrieves the top value from the stack and places it into the operand, then increments the stack pointer.
CLD
Clears the direction flag, causing string operations to increment the index registers (DI and/or SI).
ADD
Adds the first and second operand and stores the result in the first operand.
JNE
Jumps to a label if the last comparison did not result in equality (zero flag is clear).
JB
Jumps to a label if the first operand is below the second after a comparison (unsigned comparison).
REPNE/REPNZ
Repeats the following instruction until the CX register decrements to zero or the zero flag is set.
SHL/SAL
Shifts the bits of the operand to the left by a specified count, inserting zeros into the low-order bits.
LODS
Loads the value from the source string operand into the accumulator.
© Hypatia.Tech. 2024 All rights reserved.