MOV -- This instruction copies the contents of the source register into the destination register
MVI -- The 8-bit data is stored in the destination register or memory.
LDA -- The contents of a memory location, specified by a in the operand, are copied to the accumulator.
LDAX -- The contents of the designated register pair point to a memory location. This instruction copies the contents of that memory location into the accumulator.
LXI -- The instruction loads 16-bit data in the register pair designated in the operand.
LHLD -- The instruction copies the contents of the memory location pointed out by the 16-bit address into register L and copies the contents of the next memory location into register H.
STA -- The contents of the accumulator are copied into the memory location specified by the operand.
STAX -- The contents of the accumulator are copied into the memory location specified by the contents of the operand (register pair).
SHLD -- The contents of register L are stored into the memory location specified by the 16-bit address in the operand and the contents of H register are stored into the next memory location by incrementing the operand.
XCHG -- The contents of register H are exchanged with the contents of register D, and the contents of register L are exchanged with the contents of register E.
SPHL -- The instruction loads the contents of the H and L registers into the stack pointer register, the contents of the H register provide the high-order address and the contents of the L register provide the low-order address.
XTHL -- The contents of the L register are exchanged with the stack location pointed out by the contents of the stack pointer register.
PUSH -- The contents of the register pair designated in the operand are copied onto the stack in the following sequence.
POP -- The contents of the memory location pointed out by the stack pointer register are copied to the low-order register (C, E, L, status flags) of the operand.
OUT -- The contents of the accumulator are copied into the I/O port specified by the operand.
IN -- The contents of the input port designated in the operand are read and loaded into the accumulator.
Logical Instructions
RAL -- Each binary bit of the accumulator is rotated left by one position through the Carry flag.RAR -- Each binary bit of the accumulator is rotated right by one position through the Carry flag.
CMA -- The contents of the accumulator are complemented. No flags are affected.
CMC -- The Carry flag is complemented. No other flags are affected.
STC --The Carry flag is set to 1. No other flags are affected.
CMP -- The contents of the operand (register or memory) are compared with the contents of the accumulator.
CPI -- The second byte (8-bit data) is compared with the contents of the accumulator.
ANA -- The contents of the accumulator are logically ANDed with the contents of the operand (register or memory), and the result is placed in the accumulator.
ANI -- The contents of the accumulator are logically ANDed with the 8-bit data (operand) and the result is placed in the accumulator.
XRA -- The contents of the accumulator are Exclusive ORed with the contents of the operand (register or memory), and the result is placed in the accumulator.
XRI -- The contents of the accumulator are Exclusive ORed with the 8-bit data (operand) and the result is placed in the accumulator.
ORA -- The contents of the accumulator are logically ORed with the contents of the operand (register or memory), and the result is placed in the accumulator.
ORI -- The contents of the accumulator are logically ORed with the 8-bit data (operand) and the result is placed in the accumulator.
RLC -- Each binary bit of the accumulator is rotated left by one position.
RRC -- Each binary bit of the accumulator is rotated right by one position.
Control Instructions
NOP -- No operation is performed.HLT -- The CPU finishes executing the current instruction and halts any further execution.
DI -- The interrupt enable flip-flop is reset and all the interrupts except the TRAP are disabled.
EI -- The interrupt enable flip-flop is set and all interrupts are enabled.
RIM -- Read interrupt mask. This is a multipurpose instruction used to read the status of interrupts.
SIM -- Set interrupt mask. This is a multipurpose instruction and used to implement the 8085 interrupts
No comments:
Post a Comment