Download USER`S MANUAL
Transcript
INTRODUCTION ...........................................................................................................................................................5 1.1 OVERVIEW ...............................................................................................................................................................5 1.2 KEY FEATURES ........................................................................................................................................................5 1.3 FUNCTIONAL BLOCK DIAGRAM ...............................................................................................................................6 1.4 PIN ASSIGNMENTS ...................................................................................................................................................6 1.4 PIN ASSIGNMENTS ...................................................................................................................................................7 1.5 PAD DIAGRAM .......................................................................................................................................................10 1.6 PIN DESCRIPTIONS .................................................................................................................................................12 1.7 INSTRUCTION SET OVERVIEW ................................................................................................................................13 1.7.1 Data Transfer.................................................................................................................................................13 1.7.2 Rotate.............................................................................................................................................................13 1.7.3 Arithmetic Operation .....................................................................................................................................13 1.7.4 Logical Operation..........................................................................................................................................14 1.7.5 Exchange .......................................................................................................................................................14 1.7.6 Branch ...........................................................................................................................................................15 1.7.7 Compare ........................................................................................................................................................15 1.7.8 Bit Manipulation............................................................................................................................................15 1.7.9 Subroutine......................................................................................................................................................16 1.7.10 Input/Output.................................................................................................................................................16 1.7.11 Flag Manipulation .......................................................................................................................................16 1.7.12 Interrupt Control .........................................................................................................................................16 1.7.13 CPU Control................................................................................................................................................17 1.7.14 Timer/Counter, Data Pointer, and Stack Pointer Control ..........................................................17 1.8 NOTATION CONVENTIONS .....................................................................................................................................18 PROGRAMMING MODEL.........................................................................................................................................19 2.1 PROGRAM ROM (24K X 8BITS) FOR EM73PA00..................................................................................................19 2.1.1 User’s Program and Fixed Data ...................................................................................................................20 2.2 DATA RAM ( 128-NIBBLE )...................................................................................................................................23 2.2.1 Zero Page ......................................................................................................................................................23 2.2.2 Stack...............................................................................................................................................................24 2.2.3 Data Area ......................................................................................................................................................24 2.2.4 Address Mode ................................................................................................................................................24 2.3 PROGRAM COUNTER (24K ROM) FOR EM73PA00 .........................................................................................25 2.3.1 Branch Instruction .........................................................................................................................................25 2.3.2 JUMP instruction...........................................................................................................................................25 2.3.3 Subroutine Instruction ...................................................................................................................................25 2.3.4 Interrupt Acceptance Operation ....................................................................................................................26 2.3.5 Interrupt Return Operation............................................................................................................................26 2.3.6 Reset Operation .............................................................................................................................................26 2.3.7 Other Operations ...........................................................................................................................................26 SIGNAL AND FUNCTION DESCRIPTIONS ...........................................................................................................27 3.1 ACCUMULATOR (ACC) .........................................................................................................................................27 3.2 FLAGS ....................................................................................................................................................................27 3.2.1 Carry Flag (CF).............................................................................................................................................27 3.2.2 Zero Flag (ZF)...............................................................................................................................................28 3.2.3 Status Flag (SF).............................................................................................................................................28 3.2.4 Examples........................................................................................................................................................28 3.3 ALU ......................................................................................................................................................................28 3.3.1 ALU Structure ..........................................................................................................................................29 EM73PA00 User's Manual Introduction • 3