Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

Assembly Language Commands

31

Flashcards

0/31

Still learning
StarStarStarStar

MOV

StarStarStarStar

Transfers data from one location to another without altering the data.

StarStarStarStar

ADD

StarStarStarStar

Adds the second operand to the first operand and stores the result in the first operand location.

StarStarStarStar

SUB

StarStarStarStar

Subtracts the second operand from the first operand and stores the result in the first operand location.

StarStarStarStar

MUL

StarStarStarStar

Performs unsigned multiplication of the accumulator and the specified operand.

StarStarStarStar

DIV

StarStarStarStar

Performs unsigned division using the accumulator and the specified operand.

StarStarStarStar

INC

StarStarStarStar

Increments the value of the specified operand by 1.

StarStarStarStar

DEC

StarStarStarStar

Decrements the value of the specified operand by 1.

StarStarStarStar

AND

StarStarStarStar

Performs a bitwise AND operation between the first and second operand and stores the result in the first operand.

StarStarStarStar

OR

StarStarStarStar

Performs a bitwise OR operation between the first and second operand and stores the result in the first operand.

StarStarStarStar

XOR

StarStarStarStar

Performs a bitwise exclusive OR operation between the first and second operand and stores the result in the first operand.

StarStarStarStar

NOT

StarStarStarStar

Performs a bitwise NOT operation (one's complement) on the operand, reversing each bit.

StarStarStarStar

SHL

StarStarStarStar

Shifts the bits of the operand to the left by a specified count, inserting zeros into the low order bits.

StarStarStarStar

SHR

StarStarStarStar

Shifts the bits of the operand to the right by a specified count, inserting zeros into the high order bits.

StarStarStarStar

CMP

StarStarStarStar

Compares the second operand with the first operand and sets the flags accordingly.

StarStarStarStar

JMP

StarStarStarStar

Jumps to the instruction at the specified address unconditionally.

StarStarStarStar

JE

StarStarStarStar

Jumps to the specified address if the result of the previous comparison is equal (Zero flag is set).

StarStarStarStar

JNE

StarStarStarStar

Jumps to the specified address if the result of the previous comparison is not equal (Zero flag is clear).

StarStarStarStar

JG

StarStarStarStar

Jumps to the specified address if the result of the previous comparison was greater (Signed comparison).

StarStarStarStar

JL

StarStarStarStar

Jumps to the specified address if the result of the previous comparison was less (Signed comparison).

StarStarStarStar

JGE

StarStarStarStar

Jumps to the specified address if the result of the previous comparison was greater or equal (Signed comparison).

StarStarStarStar

JLE

StarStarStarStar

Jumps to the specified address if the result of the previous comparison was less or equal (Signed comparison).

StarStarStarStar

CALL

StarStarStarStar

Calls a procedure at the specified address, saving the return address on the stack.

StarStarStarStar

RET

StarStarStarStar

Returns from a procedure by popping the saved return address from the stack and jumping to it.

StarStarStarStar

LEA

StarStarStarStar

Loads the address of the operand into the specified register.

StarStarStarStar

PUSH

StarStarStarStar

Pushes the specified operand onto the stack, decrementing the stack pointer accordingly.

StarStarStarStar

POP

StarStarStarStar

Pops the top value from the stack into the specified operand, incrementing the stack pointer accordingly.

StarStarStarStar

INT

StarStarStarStar

Generates a software interrupt by invoking the interrupt handler at the specified vector.

StarStarStarStar

NOP

StarStarStarStar

Performs no operation and simply moves to the next instruction.

StarStarStarStar

STC

StarStarStarStar

Sets the Carry flag to 1.

StarStarStarStar

CLC

StarStarStarStar

Clears the Carry flag, setting it to 0.

StarStarStarStar

CMC

StarStarStarStar

Complements the Carry flag, toggling its value.

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.