i) MOV
Syntax: MOV Rd, Rs
Syntax: MVI Rd/M, 8-bit data
iii) LXI
Syntax: LXI Reg. pair, 16-bit data
Syntax: LDA 16-bit address
Syntax: STA 16-bit address
Syntax: LDAX B/D register pair
Syntax: STAX B/D register pair
Syntax: LHLD 16-bit address
Syntax: SHLD 16-bit address
Syntax: XCHG ;interchanges between D and H; and E and L
Syntax: IN 8-bit port address
Syntax: OUT 8-bit port address
Syntax: MOV Rd, Rs
- MOV M, Rs
- MOV Rd, M
Syntax: MVI Rd/M, 8-bit data
iii) LXI
Syntax: LXI Reg. pair, 16-bit data
- e.g. LXI B, 8085 ;B<=80, C<=85
Syntax: LDA 16-bit address
- e.g. LDA 8085 ;A<=M[8085]
Syntax: STA 16-bit address
- e.g. STA 8085 ;M[8085]<=A
Syntax: LDAX B/D register pair
- e.g. LDAX B ;A<=M[8050] (if B=80, C=50)
Syntax: STAX B/D register pair
- e.g. STAX B ;M[8050]<=A (if B=80, C=50)
Syntax: LHLD 16-bit address
- e.g. LHLD 8085 ;L<=M[8085], H<=M[8086]
Syntax: SHLD 16-bit address
- e.g. SHLD 8085 ;M[8085]<=L, M[8086]<=H
Syntax: XCHG ;interchanges between D and H; and E and L
- H<=D and L<=E
- D<=H and E<=L
Syntax: IN 8-bit port address
- e.g. IN 15 ;data received from port address 15 is transferred into Accumulator.
Syntax: OUT 8-bit port address
- e.g. OUT 15 ;content of Accumulator is transferred to port address 15.
No comments:
Post a Comment