User`s guide

Introduction LZ87010 Advance User’s Guide
1-20 1/15/03
MOV dir,#d Move immediate to direct byte 3 2
MOV dir,@Ri Move indirect memory to direct byte 2 2
MOV dir,A Move A to direct byte 2 1
MOV dir,dir Move direct byte to direct byte 3 2
MOV dir,Rn Move register to direct byte 2 2
MOV DPTR,#dd Move immediate to data pointer 3 2
MOV Rn,#d Move immediate to register 2 1
MOV Rn,A Move A to register 1 1
MOV Rn,dir Move direct byte to register 2 2
MOVC @(DPTR++),A Write program memory 1 2
MOVC A,@A+DPTR Move code byte relative DPTR to A 1 2
MOVC A,@A+PC Move code byte relative PC to A 1 2
MOVX @DPTR,A Move A to ‘external’ data RAM (16-bit address)* 1 2
MOVX @Ri,A Move A to ‘external’ data RAM (8-bit address)* 1 2
MOVX A,@DPTR Move ‘external’ data (16-bit address) to A* 1 2
MOVX A,@Ri Move ‘external’ data (8-bit address) to A* 1 2
MUL AB Multiply A by B 1 4
NOP No Operation 1 1
ORL A,#d OR immediate to A 2 1
ORL A,@Ri OR indirect memory to A 1 1
ORL A,dir OR direct byte to A 2 1
ORL A,Rn OR register to A 1 1
ORL C,/bit OR direct bit inverse to carry 2 2
ORL C,bit OR direct bit to carry 2 2
ORL dir,#d OR immediate to direct byte 3 2
ORL dir,A OR A to direct byte 2 1
POP dir Pop direct byte from stack 2 2
PUSH dir Push direct byte onto stack 2 2
RET Return from subroutine 1 2
RETI Return from interrupt 1 2
RL A Rotate A left 1 1
RLC A Rotate A left through carry 1 1
RR A Rotate A right 1 1
RRC A Rotate A right through carry 1 1
SETB bit Set direct bit 2 1
SETB C Set carry bit 1 1
SJMP rel Short jump (relative address) 2 2
SUBB A,#d Subtract immediate from A with borrow 2 1
SUBB A,@Ri Subtract indirect memory from A with borrow 1 1
Table 1-3. Instruction Set Summary (Cont’d)
INSTRUCTION DESCRIPTION BYTES CYCLES