Electronic Components Datasheet Search
  English  ▼

X  

EM78P447SAM Datasheet(PDF) 30 Page - ELAN Microelectronics Corp

Part # EM78P447SAM
Description  8-BIT MICRO-CONTROLLER
PDF  55 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  EMC [ELAN Microelectronics Corp]
Direct Link  http://www.emc.com.tw
Logo EMC - ELAN Microelectronics Corp

EM78P447SAM Datasheet(HTML) 30 Page - ELAN Microelectronics Corp

Back Button EM78P447SAM Datasheet HTML 26Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 27Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 28Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 29Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 30Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 31Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 32Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 33Page - ELAN Microelectronics Corp EM78P447SAM Datasheet HTML 34Page - ELAN Microelectronics Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 55 page
background image
EM78P447S
OTP ROM
4.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 periods), unless the
program counter is changed by instruction "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",
⋅⋅⋅⋅). In this case, the execution takes two instruction cycles.
If for some reasons, the specification of the instruction cycle is not suitable for certain applications, try modifying the
instruction as follows:
(A) Change one instruction cycle to consist of 4 oscillator periods.
(B) Executed within two instruction cycles, "JMP", "CALL", "RET", "RETL", "RETI", or the conditional
skip ("JBS", "JBC", "JZ", "JZA", "DJZ", "DJZA") instructions which were tested to be true. Also
execute within two instruction cycles, the instructions that are written to the program counter.
Case (A) is selected by the CODE Option bit, called CLK. One instruction cycle consists of two oscillator clocks if CLK is
low, and four oscillator clocks if CLK is high.
Note that once the 4 oscillator periods within one instruction cycle is selected as in Case (A), the internal clock source to
TCC should be CLK=Fosc/4, not Fosc/ 2 as indicated in Fig. 5.
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 register can be regarded as general register. That is, the same instruction can operate on
I/O register.
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.
INSTRUCTION BINARY
HEX
MNEMONIC
OPERATION
STATUS AFFECTED
0 0000 0000 0000
0000
NOP
No Operation
None
0 0000 0000 0001
0001
DAA
Decimal Adjust A
C
0 0000 0000 0010
0002
CONTW
A
→ CONT
None
0 0000 0000 0011
0003
SLEP
0
→ WDT, Stop oscillator
T,P
0 0000 0000 0100
0004
WDTC
0
→ WDT
T,P
0 0000 0000 rrrr
000r
IOW R
A
→ IOCR
None <Note1>
0 0000 0001 0000
0010
ENI
Enable Interrupt
None
0 0000 0001 0001
0011
DISI
Disable Interrupt
None
0 0000 0001 0010
0012
RET
[Top of Stack]
→ PC
None
0 0000 0001 0011
0013
RETI
[Top of Stack]
→ PC,
Enable Interrupt
None
0 0000 0001 0100
0014
CONTR
CONT
→ A
None
This specification is subject to change without prior notice.
06.25.2003 (V1.1)
30



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com