Sie sind auf Seite 1von 10

*

8085 Instruction Set


* Move Immediate
* It loads the 8-bit data(byte) into the register specified.
* This is the 2 byte instruction.
* Example: MVI A,82H
MVI B,37H

*
* Load register pair immediately.
* Similar to MVI instruction.
* It loads the data or address in register pairs or stack pointer
register.
* It is 3 byte instruction.
* Example: LXI H,2050H

*
Address Op- Operand Hex Address Op- Operand Hex
code code code code
8000 LDA 2050H 3A,50, 8000 LXI B,2050H 01,50,
20 20
8003 LDAX B 0A
8003 HLT 76 8004 HLT 76

*
Op-Code LDA LDAX
operand 16-bit data byte Rp (B/D register pair)
Bytes 3 1
Addressing modes Direct Indirect
Transfer from memory location memory location
specified by contents specified by 16-bit
of register pairs address

Transfer to Accumulator Accumulator

*
1. Stands for Store Accumulator Direct
Op-code Operand Bytes
STAX 16-bit 3

2. The contents of accumulator are


copied to a memory location
specified by the operand.
3. No flags are affected.
Example: STA 2050H
1. Stands for Store Accumulator Direct
Op-code Operand Bytes
STAX Rp (B/D register 3
pair)

2. The contents of accumulator are copied to a memory


location specified by the contents of the operand (register
pair).
3. No flags are affected.
Example: STAX B
This instruction is similar to move A, m except it uses
the content BC or DE as memory pointers.
* Ranjan Yadav
* Ashish Rauniyar
* Chandan Prasad Gupta
* Rabin Bhandari
* Mikesh Khanal

Das könnte Ihnen auch gefallen