A-1
Table of Contents
Chapter 1 Overview ___________________________________________________
1.1 Features of M16C/60, M16C/20, M16C/Tiny series ...............................................................2
1.1.1 Features of M16C/60, M16C/20, M16C/Tiny series .........................................................2
1.1.2 Speed performance ..........................................................................................................2
1.2 Address Space .......................................................................................................................3
1.3 Register Configuration ............................................................................................................4
1.3.1 Data registers (R0, R0H, R0L, R1, R1H, R1L, R2, and R3) ................................................4
1.3.2 Address registers (A0 and A1) ............................................................................................5
1.3.3 Frame base register (FB)....................................................................................................5
1.3.4 Program counter (PC).........................................................................................................5
1.3.5 Interrupt table register (INTB) .............................................................................................5
1.3.6 User stack pointer (USP) and interrupt stack pointer (ISP) ................................................5
1.3.7 Static base register (SB) .....................................................................................................5
1.3.8 Flag register (FLG) .............................................................................................................5
1.4 Flag Register(FLG) .................................................................................................................6
1.4.1 Bit 0: Carry flag (C flag) ......................................................................................................6
1.4.2 Bit 1: Debug flag (D flag) ....................................................................................................6
1.4.3 Bit 2: Zero flag (Z flag) ........................................................................................................6
1.4.4 Bit 3: Sign flag (S flag) ........................................................................................................6
1.4.5 Bit 4: Register bank select flag (B flag)...............................................................................6
1.4.6 Bit 5: Overflow flag (O flag).................................................................................................6
1.4.7 Bit 6: Interrupt enable flag (I flag) .......................................................................................6
1.4.8 Bit 7: Stack pointer select flag (U flag)................................................................................6
1.4.9 Bits 8-11: Reserved area ....................................................................................................6
1.4.10 Bits 12-14: Processor interrupt priority level (IPL) .............................................................7
1.4.11 Bit 15: Reserved area ........................................................................................................7
1.5 Register Bank .........................................................................................................................8
1.6 Internal State after Reset is Cleared.......................................................................................9
1.7 Data Types ...........................................................................................................................10
1.7.1 Integer...............................................................................................................................10
1.7.2 Decimal ............................................................................................................................. 11
1.7.3 Bits ....................................................................................................................................12
1.7.4 String ................................................................................................................................15
1.8 Data Arrangement ................................................................................................................16
1.8.1 Data Arrangement in Register ..........................................................................................16
1.8.2 Data Arrangement in Memory ...........................................................................................17
1.9 Instruction Format .................................................................................................................18
1.9.1 Generic format (:G) ...........................................................................................................18
1.9.2 Quick format (:Q) ..............................................................................................................18
1.9.3 Short format (:S) ...............................................................................................................18
1.9.4 Zero format (:Z).................................................................................................................18
1.10 Vector Table .........................................................................................................................19
1.10.1 Fixed Vector Table ..........................................................................................................19
1.10.2 Variable Vector Table ......................................................................................................20
Comentarios a estos manuales