em78p210n ELAN Microelectronics Corp, em78p210n Datasheet - Page 57

no-image

em78p210n

Manufacturer Part Number
em78p210n
Description
8-bit Microcontroller With Otp Rom
Manufacturer
ELAN Microelectronics Corp
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM78P210N
Manufacturer:
ELAN
Quantity:
20 000
Product Specification (V1.2) 04.22.2008
(This specification is subject to change without further notice)
6.12 Instruction Set
Each instruction in the instruction set is a 13-bit word divided into an OP code and one
or more operands. Normally, all instructions are executed within one single instruction
cycle (one instruction consists of 2 oscillator time periods). Note the program counter is
changed by instructions "MOV R2,A," "ADD R2,A," or by instructions of arithmetic or
logic operation on R2 (e.g., "SUB R2,A," "BS(C) R2,6," "CLR R2," etc.). In this case,
these instructions only need one instruction cycles
In addition, the instruction set has the following features:
1. Every bit of any register can be set, cleared, or tested directly.
2. The I/O registers can be regarded as general registers. That is, the same
Convention:
R = Register designator that specifies which one of the registers (including operation and general purpose
b = Bit field designator that selects the value for the bit located in the register R and which affects the
k = 8 or 10-bit constant or literal value
0 0000 0000 0000
0 0000 0000 0001
0 0000 0000 0010
0 0000 0000 0011
0 0000 0000 0100
0 0000 0001 0000
0 0000 0001 0001
0 0000 0001 0010
0 0000 0001 0011
0 0000 0001 0100
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
Binary Instruction
instruction can operate on I/O registers.
registers) is to be utilized by the instruction.
operation.
0000
0001
0002
0003
0004
0010
0011
0012
0013
0014
00rr
0080
00rr
01rr
01rr
01rr
01rr
HEX
Mnemonic
CONTW
SLEP
WDTC
RETI
CONTR
CLRA
CLR R
SUB A,R
SUB R,A
DECA R
DEC R
NOP
DAA
ENI
DISI
RET
MOV R,A
No Operation
Decimal Adjust A
A → CONT
0 → WDT, Stop oscillator
0 → WDT
Enable Interrupt
Disable Interrupt
[Top of Stack] → PC
[Top of Stack] → PC, Enable Interrupt
CONT → A
A → R
0 → A
0 → R
R-A → A
R-A → R
R-1 → A
R-1 → R
8-Bit Microcontroller with OTP ROM
Operation
EM78P210N
Affected
Z, C, DC
Z, C, DC
Status
None
None
None
None
None
None
None
None
T, P
T, P
C
Z
Z
Z
Z
• 51

Related parts for em78p210n