EM78451AP EMC [ELAN Microelectronics Corp], EM78451AP Datasheet - Page 47

no-image

EM78451AP

Manufacturer Part Number
EM78451AP
Description
8-Bit Microcontroller
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet
Product Specification (V1.2) 05.27.2004
(This specification is subject to change without further notice)
4.11 Instruction Set
Bit 2 (HLF): Frequency mode.
Bit 3 : Reserved.
Bit 4 (RCT): RC type.
Bit 5 (DEL1) and Bit 6 (DEL0): Speed of SPI.
*Do not set DEL1 and DEL0 bits to all “1”, otherwise, the microprocessor will not work.
The test code of EM78451
The following program must be added in order to heighten the liability of the mass
production. The test code must not be executed during free running.
Each instruction in the instruction set is a 13-bit word divided into an OP code and one
or more operands. All instructions are executed within one single instruction cycle
(consisting of 2 oscillator periods), unless the program counter is changed by:
(a) Executing the instruction "MOV R2,A", "ADD R2,A", "TBL", or any other instructions
that write to R2 (e.g. "SUB R2,A", "BS R2,6", "CLR R2", ⋅⋅⋅⋅).
(b) Executing CALL, RET, RETI, RETL, JMP, Conditional skip (JBS, JBC, JZ, JZA,
DJZ, DJZA) which were tested to be true.
Under these cases, the execution takes two instruction cycles.
In addition, the instruction set has the following features:
(1). Every bit of any register can be set, cleared, or tested directly.
DEL 1
0
0
1
1
1: High frequency (>32.768KHz)
0: Low frequency (=32.768KHz)
The bit0 set to ”1” all the time
1: External RC
0: Internal RC
Address
FFC
FFD
FFA
FFB
FFE
DEL 0
0
1
0
1
Speed (MHz)
2.5
8
1
Code
01C6
01C5
0006
0546
0000
Not use
Delay time (ns)
100 ns
50 ns
0 ns
8-Bit Microcontroller
Statement
DEC 0x06
DEC 0x05
IOW 0x06
INC 0x06
Not use SPI mode
NOP
Use Type
Not use
EM78451
• 43

Related parts for EM78451AP