em78p156n ELAN Microelectronics Corp, em78p156n Datasheet - Page 34

no-image

em78p156n

Manufacturer Part Number
em78p156n
Description
8-bit Micro-controller
Manufacturer
ELAN Microelectronics Corp
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
em78p156nPJ
Quantity:
42
Part Number:
em78p156nPJU
Manufacturer:
Hamlin
Quantity:
40 000
The symbol "R" represents a register designator that specifies which one of the registers (including operational
registers and general purpose registers) is to be utilized by the instruction. "b" represents a bit field designator
that selects the value for the bit which is located in the register "R", and affects operation. "k" represents an 8
or 10-bit constant or literal value.
This specification is subject to change without prior notice.
0 0000 0000 0000
0 0000 0000 0001
0 0000 0000 0010
0 0000 0000 0011
0 0000 0000 0100
0 0000 0000 rrrr
0 0000 0001 0000
0 0000 0001 0001
0 0000 0001 0010
0 0000 0001 0011
0 0000 0001 0100
0 0000 0001 rrrr
0 0000 01rr rrrr
0 0000 1000 0000
0 0000 11rr rrrr
0 0001 00rr rrrr
0 0001 01rr rrrr
0 0001 10rr rrrr
0 0001 11rr rrrr
0 0010 00rr rrrr
0 0010 01rr rrrr
0 0010 10rr rrrr
0 0010 11rr rrrr
0 0011 00rr rrrr
0 0011 01rr rrrr
0 0011 10rr rrrr
0 0011 11rr rrrr
0 0100 00rr rrrr
0 0100 01rr rrrr
0 0100 10rr rrrr
0 0100 11rr rrrr
0 0101 00rr rrrr
0 0101 01rr rrrr
0 0101 10rr rrrr
0 0101 11rr rrrr
0 0110 00rr rrrr
0 0110 01rr rrrr
0 0110 10rr rrrr
INSTRUCTION BINARY
(2) The I/O register can be regarded as general register. That is, the same instruction can operate
on I/O register.
0000
0001
0002
0003
0004
0010
0011
0012
0013
0014
0080
HEX
000r
001r
00rr
00rr
01rr
01rr
01rr
01rr
02rr
02rr
02rr
02rr
03rr
03rr
03rr
03rr
04rr
04rr
04rr
04rr
05rr
05rr
05rr
05rr
06rr
06rr
06rr
MNEMONIC
MOV R,A
MOV A,R
MOV R,R
XOR A,R
XOR R,A
SUB A,R
SUB R,A
AND A,R
AND R,A
ADD A,R
ADD R,A
COMA R
RRCA R
CONTW
DECA R
CONTR
RLCA R
OR A,R
OR R,A
DJZA R
COM R
INCA R
RRC R
DEC R
WDTC
IOW R
CLR R
IOR R
DJZ R
CLRA
INC R
SLEP
RETI
NOP
DAA
RET
DISI
ENI
34
[Top of Stack]
0
[Top of Stack]
R-1
R-1
R(0)
R(0)
Decimal Adjust A
Disable Interrupt
WDT, Stop oscillator
Enable Interrupt
R(n)
R(n)
R(n)
OPERATION
No Operation
A
CONT
A
A
A
A
A & R
A & R
A + R
A
IOCR
A + R
0
R+1
R-A
R+1
R-A
R-1
Interrupt
R-1
/R
/R
A
R
R
0
A, skip if zero
R, skip if zero
0
C, C
C, C
R
R
R
R
CONT
WDT
IOCR
A(n+1),
A(n-1),
R(n-1),
R
R
A
A
R
A
R
R
R
A
PC, Enable
A
R
A
R
A
A
R
A
R
A
A
R
A
A(7)
R(7)
PC
STATUS AFFECTED
None <Note1>
None <Note1>
EM78P156N
Z,C,DC
Z,C,DC
Z,C,DC
Z,C,DC
None
None
None
None
None
None
None
None
None
None
OTP ROM
07.29.2004 (V1.2)
T,P
T,P
C
C
C
C
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z

Related parts for em78p156n