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