F2MC-8L
Page
Fujitsu Limited
Page
Purpose of This Manual and Intended Reader
Fujitsu Limited
Trademark
Structure of This Manual
This chapter describes the functions and operation of Uart
This appendix shows the I/O map and instructions list
Copyright 2005-2008 Fujitsu Limited All rights reserved Iii
Example notation of multi-use pins P33/EC pin
Reading this Manual
Contents
115
127
205
135
161
225
243
259
279
347
313
339
357
375
403
Appendix a
Changes For details, refer to main body
RST
Xii
Chapter Overview
Uart
Features of MB89202/F202RA Series
Overview
Low-power consumption modes standby modes
Up to 26 pins of I/O ports
Wild registers
KB Flash with read protection
MB89202/F202RA Series Product Lineup
1 MB89202/F202RA Series Models
MB89201 MB89F202/F202RA MB89V201
Cmos
Specification
2 CPU and Peripheral Functions of MB89202/F202RA Series
PWM
Uart
Differences between Models
1 Differences between Models
Package MB89201 MB89F202/F202RA MB89V202
Current consumption
Block Diagram of MB89202/F202RA Series
1 Block Diagram of MB89202/F202RA Series
Pin Assignment
1 Pin Assignment of DIP-32P-M06
Pin Assignment of FPT-34P-M03
2 Pin Assignment of FPT-34P-M03
Package Dimensions
Package Dimension of DIP-32P-M06
Package Dimension of FPT-34P-M03
Pin No Circuit Function Name Type
Pin Functions Description
Pin Functions Description 1/2
Pin Functions Description 2/2
I/O Circuit Types
Circuit Types 1/2 Remarks
Circuit Types 2/2
Types Circuit Remarks
Overview
Precautions on Handling Devices
Chapter Handling Devices
Precautions on Handling Devices
Handling Devices
Step-down circuit stabilization time
Product name Operating voltage Step-down circuit
Oscillation stabilization wait time 218/FCH
Chapter CPU
Memory Space
CPU
Area address 0000H to 007FH
RAM area
Memory Map
Specific-purpose Areas
Vector Table Area Address FFC0H to Ffffh
1 Vector /2
Address in the vector table
Fffe H Ffff H
Fffb H
Fffd H
Bit Data Storage State in Stack
Location of 16-bit Data on Memory
Bit Operand Storage State
Dedicated Register
Functions of the Dedicated Register
Program counter PC
Accumulator a
Temporary Accumulator T
Index register
Extra-pointer EP
Stack pointer SP
Condition Code Register CCR
Bits for Indicating Arithmetic Operation Results
IL1 IL0
Bits for Controlling Acceptance of Interrupts
1 Interrupt Levels
4 Configuration of Register Bank Pointer
Register Bank Pointer RP
1 Configuration of Register Bank
General-Purpose Registers
Features of the General-purpose Registers
Interrupts
1 Interrupt Requests and Interrupt Vectors 1/2
1 Interrupt Requests and Interrupt Vectors 2/2
Interrupt Level Setting Registers ILR1 to ILR4
L01 to LF1 L00 to LF0 Requested interrupt level Priority
Steps in the Interrupt Operation
2 Steps in the Interrupt Operation
CPU
Multiple Interrupts
Example of multiple interrupts
Interrupt handling time
Interrupt Processing Time
Interrupt request sample wait time
Stack Operation at Interrupt Processing
Stack Operation at the End of Interrupt Processing
XXH
E0H
Stack Area for Interrupt Processing
0000H 0080H 0280H
RAM
ROM Ffffh
Reset
1 Reset Sources
Reset Sources and Oscillation Stabilization Wait Time
Power-on reset
Reset Flag Register Rsfr
1 Configuration of Reset Flag Register Rsfr
Bit name Description
Ponr
Erst
Wdog
External Reset Pin
Function of the External Reset Pin
Reset Operation
3 Reset Operation Flow
Influence from a Reset of Contents in RAM
Mode Fetch
State of Reset Waiting for Stabilization of Oscillation
State of Each Pin at Reset
States of Pins after the CPU Reads the Mode Data
Clock
1shows the clock supply map
1 Clock Supply Map
For an external clock
Clock Generator
For a crystal resonator or ceramic resonator
4 Block Diagram of Clock Controller
Clock Controller
Oscillator
System clock selector
Clock controller
Oscillation stabilization wait time selector
5 Configuration of System Clock Control Register Sycc
System Clock Control Register Sycc
Instruction Cycle tINST
Clock Mode
Gears Clock Speed Switching Function
2 Operations in Each Clock Mode
Sycc CS1 CPU
Operations in Active Mode
Oscillation Stabilization Wait Time
Oscillation stabilization wait time during operation
Oscillation stabilization wait time at a reset
Sycc WT1, WT0
Stop mode
Standby Mode Low-Power Consumption Mode
Sleep mode
Operations in Standby Mode
State of pins in standby mode
RUN
Sleep Stop SPL=0 SPL=1
Cancellation of sleep mode
Sleep Mode
Transition to sleep mode
Stop Mode
Transition to stop mode
Standby Control Register Stbc
1 Standby Control Register Stbc
STP
SLP
SPL
Resv
Diagram for State Transition in Standby Mode
2 State Transition Diagram
3 Transition to and Cancellation of Clock Mode
Transition to and cancellation of standby mode
4 Transition to and Cancellation of Standby Mode
State transition Transition conditions
Cancellation of Standby Mode by an Interrupt
Stbc register Mode STPbit7 SLPbit6
Oscillation Stabilization Wait Time
Memory Access Mode
Mode Data
Operations for Selecting Memory Access Mode
1 Settings for Mode Data
2 Operations for Selecting Memory Access
CPU
Chapter Ports
Overview of I/O Ports Programming Example of I/O Port
Functions of Ports
Overview of I/O Ports
O Ports
2 Registers of Ports
Register name Read/Write Address Initial value
Xxxxxxxxb
Xxxxb
Pins of Port
Port
PDR0, DDR0, PUL0
Block Diagram of Port
Registers PDR0, DDR0, and PUL0 of Port
Registers of Port 0 PDR0, DDR0, and PUL0
Port 0 pull-up setting register PUL0
2 Pull-up Resistor Settings PUL0
Operations of Port 0 Functions
Operation in stop mode
1 Pins of Port
Input and output form Circuit Name Output Type
Registers PDR3, DDR3, and PUL3 of Port
PDR3, DDR3, PUL3
Setting a port pin to serve external interrupts
Setting the output from a peripheral enable
Registers of Port 3 PDR3, DDR3, PUL3
Port 3 data register PDR3
Port 3 pull-up setting register PUL3
Name Read Write
Operations of Port 3 Functions
Operation in mode enabling the output from a peripheral
Operation in mode enabling the input to a peripheral
P30/UCK/SCK
Input Output
Registers of Port
PDR4, DDR4, OUT4
When being written Read Address
Registers of Port 4 PDR4
This section describes the registers associated with port
Functions of Port 4 Registers
Analog input mode setting
Operations of Port 4 Functions
Pin may serve Type Input Output
Pin of Port
Input and output Circuit Pin name Function Form
PDR5, DDR5, PUL5
Port 5 data direction register DDR5
Registers of Port 5 PDR5, DDR5, PUL5
Port 5 data register PDR5
Port 5 pull-up setting register PUL5
2 Pull-up Setting Register PUL5
Operations of Port 5 Functions
P50/PWM
Input Output Type Serve
Pins of Port Peripherals for Input and output form Circuit
Pin name Function
1 Block Diagram of Port6
101
102
Registers PDR6, DDR6, and PUL6 of Port
PDR6, DDR6, PUL6
Port 6 data direction register DDR6 for P60, P61
Registers of Port 6 PDR6, DDR6, PUL6
Port 6 data register
Port 6 pull-up setting register PUL6
104
Operations of Port 6 Functions
106
Pins of Port
Pin name Function Input and output form Circuit Output Type
108
Registers PDR7, DDR7, and PUL7 of Port
PDR7, DDR7, PUL7
Port 7 data direction register DDR7
Registers of Port 7 PDR7, DDR7, PUL7
Port 7 data register PDR7
Port 7 pull-up setting register PUL7
110
Operations of Port 7 Functions
112
Processing specification
Programming Example of I/O Port
Coding example
114
Chapter TIME-BASE Timer
Overview of Time-base Timer
TIME-BASE Timer
1 Time Intervals for Time-base Timer
2 Clock Cycles Supplied by Time-base Timer 1/2
2 Clock Cycles Supplied by Time-base Timer 2/2
117
Configuration of Time-base Timer
Time-base timer counter
Interval timer selector
Counter clear circuit
Time-base Timer Control Register Tbtc
1 Time-base Timer Control Register Tbtc
Tbof
Tbie
TBC1, TBC0
TBR
Interrupt of Time-base Timer
Ffec H Ffed H
Operations of Clock Supply Function
Operations of Time-base Timer Functions
Operations of Time-base Timer
2 Operations of Time-base Timer
123
Clearing time-base timer
Program Example for Time-base Timer
Coding examples
Popw a Reti Ends END
126
Chapter Watchdog Timer
Overview of Watchdog Timer
Watchdog Timer
1 Watchdog Timer Time Intervals
Time-base timer output Oscillation frequency 12.5 MHz
Configuration of Watchdog Timer
Watchdog timer counter 1-bit counter
Reset control circuit
Counter clear control circuit
WTE1, WTE0
Watchdog Control Register Wdtc
WTE3, WTE2
Operations of Watchdog Timer Functions
Activating watchdog timer
Clearing watchdog timer
Time intervals of watchdog timer
Stopping watchdog timer
Program Example for Watchdog Timer
134
Chapter BIT PWM Timer
Overview of 8-bit PWM Timer
BIT PWM Timer
1 Range of Intervals and Square Wave Output
Count clock cycle Interval Square wave output Hz
137
PWM Timer Functions
Internal clock Output of an 8/16-bit capture timer/counter
138
Configuration of 8-bit PWM Timer
1 Block Diagram of an 8-bit PWM Timer
Count clock selector
Bit counter
Comparator
PWM generation circuit and PWM output control circuit
P50/PWM pin
Pin of 8-bit PWM Timer
Block Diagram of the Pin Related to the 8-bit PWM Timer
Registers of 8-bit PWM Timer
1 Registers Related to the 8-bit PWM Timer
PWM Control Register Cntr
2 PWM Control Register Cntr
Bit name Function
TPE
TIR
TIE
While the interval timer is operating
PWM Compare Register Comr
Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 0023H
Xxxxxxxxb
While the PWM timer is operating
146
Interrupt of 8-bit PWM Timer
Operations of the Interval Timer Functions
1 Setting Interval Timer Functions
2 Operations of an 8-bit PWM Timer
149
Operations of the 8-bit PWM Timer Functions
1 Setting 8-bit PWM Timer Functions
151
States in Each Mode During Operation
While interval timer functions are enabled
153
While PWM timer functions are enabled
154
00 H 01 H 02 H 03 H 04 H
This section provides notes on using 8-bit PWM timer
Error
156
Program Example for PWM Timer
Processing specifications
Popw Reti Ends
158
Program Example of PWM Timer Functions
159
160
Chapter BIT Capture TIMER/ Counter
Overview of 8/16-bit Capture Timer/Counter
16-BIT Capture TIMER/COUNTER
Count clock cycle Interval time Square wave output range Hz
163
3 Interval Time and Square Wave Output Range in 16-bit Mode
164
Counter Function
165
Configuration of 8/16-bit Capture Timer/Counter
1 Block Diagram of 8/16-bit Capture Timer/Counter
Timer 0/1 data registers TDR0, TDR1
Timer 0/1 control registers TCR0, TCR1
Bit capture timer/counter interrupt
Count clock selectors 0/1
P34/TO/INT10 pin
Pins of 8/16-bit Capture Timer/Counter
P33/EC pin
Block Diagram for 8/16-bit Capture Timer/Counter Pins
169
Registers of 8/16-bit Capture Timer/Counter
1 Registers of 8/16-bit Capture Timer/Counter
Capture Control Register Tccr
2 Capture Control Register Tccr
172
Timer 0 Control Register TCR0
3 Timer 0 Control Register TCR0
174
Timer 1 Control Register TCR1
TSTR1
TIF1
TFCR1
T1IEN
TSTR1
Tsel
Timer Output Control Register TCR2
PEN
Timer 0 Data Register TDR0
Bit mode timer
Bit mode
179
Timer 1 Data Register TDR1
7 Timer 1 Data Register TDR1
181
Capture Data Registers H and L Tcph and Tcpl
Bit6 Bit5 Bit4 Bit3 Bit2 Bit1
Tcph
Tcpl
Timer 0 interrupt operation in the 8-bit mode
8/16-bit Capture Timer/Counter of Interrupts
Bit mode Capture mode Timer Timer 0 + timer
184
FFF4 H FFF5 H
FFF2 H FFF3 H
Explanation of Operations of Interval Timer Functions
1 Setting of Interval Timer Function Timer
2 Setting of Interval Timer Function Timer
186
3 Interval Timer Function Operation in 8-bit Mode Timer
187
4 Setting of Interval Timer Function in 16-bit Mode
188
1 Setting of Counter Function in 8-bit Mode
Operation of Counter Functions
Detection of the number of events
190
3 Setting of Counter Function in 16-bit Mode
191
4 Counter Function Operation in 16-bit Mode
192
1 Setting of Capture Function in 8-bit Mode
Functions of Operations of Capture Functions
Ccmsk Tcmsk
2 Capture Mode Operation
195
3 Setting of Capture Function in 16-bit Mode
196
8/16-bit Capture Timer/Counter Operation in Each Mode
1 Counter Operation in Standby Mode and at Halfway Stop
10-1 Error Occurring until the Count Operation is Started
Using only timer 0 in 8-bit mode
199
Program Example for 8/16-bit Capture Timer/Counter
201
Wari Clrb TIF0
Popw Xchw Reti Ends END
Program Example of Counter Function
202
203
Xchw Incw
Cmpw BNE READ16
204
Chapter BIT PPG Timer
Overview of 12-bit PPG Timer
12-BIT PPG Timer
Bit PPG Function
207
208
Configuration of 12-bit PPG Timer Circuit
1 Block Diagram of 12-bit PPG Timer
210
Bit PPG control registers 1 RCR21 and 2 RCR22
Bit PPG control registers 3 RCR23 and 4 RCR24
Pin of 12-bit PPG Timer
P37/BZ/PPG pin
PUL write
212
Registers of 12-bit PPG Timer
Readable and Writable Unused 213
1 12-bit PPG Control Register 1 RCR21
RCK1, RCK0
2 12-bit PPG Control Register 2 RCR22
Bit PPG Control Register 2 RCR22
3 12-bit PPG Control Register 3 RCR23
Bit PPG Control Register 3 RCR23
Rcen
217
4 12-bit PPG Control Register 4 RCR24
Bit PPG Control Register 4 RCR24
Operations of 12-bit PPG Timer Functions
1 Setting 12-bit PPG Timer
2 Operation of 12-bit PPG Timer
220
This section provides notes on using the 12-bit PPG timer
Limitation of H width setting
Resolution
Setting change during operation
1 Setting Change during 12-bit PPG Timer Operation
2 Error before Count Operation Start
Program Example for 12-bit PPG Timer
224
Chapter External Interrupt Circuit 1 Edge
Overview of External Interrupt Circuit
External Interrupt Circuit 1 Edge
Configuration of External Interrupt Circuit
1 Block Diagram of External Interrupt Circuit 1 EIC1, EIC2
228
Edge detecting circuits
External interrupt 1 control registers EIC1, EIC2
Pins of External Interrupt Circuit
P35/INT11 and P36/INT12 pins
1 Pins Associated with External Interrupt Circuit
TCR2PEN=0
230
PDR
Registers of External Interrupt Circuit
1 Registers Associated with External Interrupt Circuit
External Interrupt Control Register 1 EIC1
2 External Interrupt Control Register 1 EIC1
EIR1
EIE1
EIR0
233
EIE0
234
External Interrupt Control Register 2 EIC2
3 External Interrupt Control Register 2 EIC2
236
EIR2
EIE2
Interrupt of External Interrupt Circuit
238
Exercise Caution when Changing Edge Polarity Selection
FFF8H FFF9H IRQ2
1 Setting External Interrupt Circuit
Operations of External Interrupt Circuit
2 Operation of External Interrupt 1 INT10
240
Program Example for External Interrupt Circuit
242
Chapter External Interrupt Circuit 2 Level
External Interrupt Circuit 2 Level
Interrupt request generating circuit
External interrupt 2 control register EIE2
P00/INT20/AN4 to P03/INT23/AN7
P04/INT24 to P07/INT27
INT25
INT26
247
Register Bit name External interrupt pin
248
EIE2 External interrupt 2 control register Address
External Interrupt 2 Control Register EIE2
2 External Interrupt Circuit 2 Control Register EIE2
251
External Interrupt 2 Flag Register EIF2
3 External Interrupt 2 Flag Register EIF2
ILR3 007DH LA1 bit5 LA0 bit4
EIE2
2 Operation of External Interrupt 2 INT20
255
Aden EQU
EIE2 EQU
EIF2 EQU
Intv Dseg ABS Data Segment ORG 0FFE6H Irqa Wari
257
Pushw a Xchw A,T
Popw a Xchw A,T Reti Ends END
258
Chapter Converter
Overview of A/D Converter
D Converter
Configuration of A/D Converter
1 Block Diagram of the A/D Converter
Clock selector
Analog channel selector
Sample hold circuit
Converter
Pins of A/D Converter
P03/INT23/AN7 to P00/INT20/AN4 and P43/AN3 to P40/AN0
Block Diagram of the Pins Related to the A/D Converter
264
Registers of A/D Converter
1 Registers Related to the A/D Converter
12.4.1 A/D Control Register 1 ADC1
2 A/D Control Register 1 ADC1
ANS2, ANS1, ANS0
ADI
Admv
RESV0
12.4.2 A/D Control Register 2 ADC2
3 A/D Control Register 2 ADC2
269
When A/D conversion functions are enabled
12.4.3 A/D Data Register Addh and Addl
12.4.4 A/D Enable Register Aden
5 A/D Enable Register Aden
Interrupt of A/D Converter
Continuous activation
Operations of A/D Converter Functions
Software activation
Operations of A/D Conversion Functions
274
This section describes notes on using the A/D converter
Input impedance of the analog input
276
Conversion time
Input clock of continuous activation
Program Example for A/D Converter
278
MOV Addl
MOV Addh
Chapter Uart
This chapter describes the functions and operations of Uart
Overview of Uart
1 Uart Operating Modes
281
Serial Switch
Choice of the Transfer Clock Rate
Asynchronous transfer mode Synchronous transfer mode
282
Divider for clock Transfer rate bps
283
Configuration of Uart
1 Block Diagram of Uart
Serial mode control register SMC
Clock generator
Reception control circuit
Transmission control circuit
Uart interrupt sources
286
Pins of Uart
P30/UCK/SCK
P31/UO/SO
P32/UI/SI
Block Diagram of the UART-relating Pins
288
Registers of Uart
1shows the UART-relating registers UART-relating Registers
Serial Mode Control Register SMC
2 Serial Mode Control Register SMC
SBL
Smde
Scke
SOE
Serial Rate Control Register SRC
3 Serial Rate Control Register SRC
293
Serial Status and Data Register SSD
4 Serial Status and Data Register SSD
295
Receiving Status
296
When operating mode is 0, 1, or
When operating mode is
Serial Input Data Register Sidr
Serial Input Data Register Sidr
Serial Output Data Register Sodr
7 Serial Output Data Register Sodr
Clock Divider Selection Register UPC
8 Clock Divider Selection Register UPC
Pren
300
Ssel
Serial Switch Register Ssel
5 Description of the Serial Switch Register Ssel Bits
10 Block Diagram of Serial Switch Register
302
Interrupt of Uart
Reception Interrupt
Uart Interrupt Related Registers and Vector Table Addresses
FFF0H FFF1H IRQ6
Operations of Uart Functions
1 Transferred Data Format
Theory of Operation for Operating Mode 0, 1, 2,
305
Transmission Operations Operating Mode 0, 1, 2,
3 Transmission Operations in Operating Mode 0, 1, 2, or
Reception Operations Operating Mode 0, 1, or
4 Reception Operations in Operating Mode 0, 1, or
308
Reception Operations Operating Mode 2 Only
7 Reception Operations in Operating Mode
310
Program specifications
Program Example for Uart
312
Chapter BIT Serial I/O
Serial Function Switching
Overview of 8-Bit Serial I/O
BIT Serial I/O
1 Shift Clock Cycle and Transfer Rate
Configuration of 8-Bit Serial I/O
1 Block Diagram of 8-bit Serial I/O
Serial mode register SMR
Shift clock control circuit
Shift clock counter
Bit serial I/O interrupt
Pins of 8-Bit Serial I/O
P32/UI/SI pin
P31/UO/SO pin
P30/UCK/SCK pin
Block Diagram for 8-bit Serial I/O Pins
318
Registers of 8-Bit Serial I/O
Bit Serial I/O Registers
Serial Mode Register SMR
2 Serial Mode Register SMR
Siof
Sioe
CKS1, CKS0
321
322
BDS
SST
When the serial I/O is in transfer operation
Serial Data Register SDR
Serial Data Register SDR
At serial output operation
1 8-bit Serial I/O Interrupt Register and Vector Table
Interrupt of 8-Bit Serial I/O
Bit Serial I/O Interrupt Register and Vector Table
Operations of Serial Output Functions
Serial output operation via internal shift clock
326
Serial output operation using external shift clock
Operation at Serial Output Completion
Serial input operation using internal shift clock
Operations of Serial Input Functions
328
Serial input operation using external shift clock
Operation at Serial Input Completion
Bit serial I/O operation in stop mode
14.8 8-Bit Serial I/O Operation in Each Mode
Bit serial I/O operation in sleep mode
330
When the External Shift Clock is Used
331
332
This section provides notes on using the 8-bit serial I/O
Error at serial transfer start
Malfunction due to noise
Shift clock idle state
Example of 8-Bit Serial I/O Connection
Bidirectional Serial I/O Operation
335
Program Example for 8-Bit Serial I/O
Program Example for 8-bit Serial Input
Wari Clrb Siof
Pushw MOV
Popw Reti Ends END
Pushw Xchw MOV SDR
338
Chapter Buzzer Output
Overview of the Buzzer Output
Buzzer Output
1 Output Frequencies
Clock supplier Buzzer output Square wave output at 12.5 MHz
Configuration of the Buzzer Output
Buzzer output selector
BZ pin
Block Diagram of the Pin Related to the Buzzer Output
Pin of the Buzzer Output
Buzzer Register Bzcr
1 Buzzer Register Bzcr
1 Functions of Each Bit in Buzzer Register Bzcr
344
Program Example for Buzzer Output
Bzcr EQU
346
Chapter Wild Register Function
Overview of the Wild Register Function
Wild Register Applicable Addresses
Wild Register Function
1 Wild Register Applicable Addresses
Control circuit part
Configuration of the Wild Register Function
Memory area part
Registers of the Wild Register Function
1 Registers Related to Wild Register Function
Data Setting Registers WRDR0 and WRDR1
1 Functions of Data Setting Register Wrdr
Wild register number Register name Function
WRDR0
Higher Address Set Registers WRARH0 and WRARH1
2 Functions of Higher Address Set Register Wrarh
WRARH0
WRARH1
Lower Address Set Registers WRARL0 and WRARL1
3 Functions of Lower Address Set Register Wrarl
WRARL0
WRARL1
Address Comparison EN Register Wren
5 Address Comparison EN Register Wren
Test register. Do not access this register
Data Test Set Register Wror
Operations of the Wild Register Functions
Wild Register Addresses List
1 Operation Order of Wild Register
2 Wild Register Addresses List
Chapter Flash Memory
Overview of Flash Memory
Writing to/Erasing Flash Memory
Flash Memory Register
Flash Memory
Flash Memory Control Status Register Fmcs
1 Flash Memory Control Status Register Fmcs
Inte
360
1 Command Sequence Table
Starting the Flash Memory Automatic Algorithm
Confirming the Automatic Algorithm Execution State
1 Bit Assignments of Hardware Sequence Flags
2 Hardware Sequence Flag Functions
State
Data Polling Flag DQ7
Automatic Erasing
Toggle Bit Flag DQ6
Timing Limit Exceeded Flag DQ5
Toggle Bit-2 Flag DQ2
Detailed Explanation of Writing to Erasing Flash Memory
Setting The Read/Reset State
Writing to the Flash Memory
Writing Data
Specifying Addresses
1 Example of the Flash Memory Write Procedure
370
Erasing All Data Erasing Chips
Flash Security Feature
How to enable the Flash Security Feature
How to disable the Flash Security Feature
Behavior under the Flash Security Feature
Flash Content Protection
Software Reset, Watchdog Timer Reset
Program Access to Flash Memory
374
Appendix
Table A-1 Map 1
Appendix a I/O Map
Appendix a I/O Map
Table A-1 Map 2
377
Table A-1 Map 3
378
Table A-1 Map 4
Explanation on read/write
Explanation on initial value
379
Appendix B Overview of the Instructions
Explanation on the Codes Representing Instructions
Table B-1 Explanation on Codes on Instructions’ List
Code Meaning
CCR
382
Explanation on the Items of Instructions’ List
Table B-2 Explanation on Items of Instructions’ List
Extended Addressing
Addressing
Direct addressing
384
Index addressing
Pointer Addressing
General-purpose Register Addressing
Immediate Addressing
Vector Addressing
Table B.1-1 Vector Table Address Corresponding to vct
386
Relative Addressing
Inherent addressing
Movw A, PC
Special Instructions
JMP @A
388
Mulu a
Divu a
Xchw A, PC
389
Appendix B Overview of the Instructions Callv #vct
390
Bit Manipulation Instructions Setb and Clrb
Table B.3-1 Bus Operation at Bit Manipulation Instructions
Code Mnemonic
RMW
F2MC-8L Instructions List
Table B.4-1 List of Transfer Instructions 1
Table B.4-1 List of Transfer Instructions 2
393
394
Operation Instructions
Table B.4-2 List of Operation Instructions 1
Table B.4-2 List of Operation Instructions 2
395
Table B.4-2 List of Operation Instructions 3
396
Branch Instructions
Table B.4-2 List of Operation Instructions 4
Table B.4-3 List Branch Instructions
397
398
Other Instructions
Table B.4-4 List of Other Instructions
Instruction Map
Instruction Map
Table B.5-1 shows the instruction map of the F2MC-8L
Instruction Map of the F
Appendix C Mask Options
Table C-1 Mask Options
Programming Eprom
Appendix D Programming Eprom with Evaluation Chip
Eprom for use
Table E-1 Pin States in Each Operation Mode
Appendix E Pin State of the MB89202/F202RA Series
Appendix E Pin State of the MB89202/F202RA Series
P37/BZ/PPG
Index follows on the next This is listed in alphabetic order
403
Numerics
ADC
Aden
Cntr
Bzcr
CCR
Comr
DDR
EIC
EIE
F2MC-8L
Fmcs
ILR
Interrupt Enable Bits
Interrupt Level Setting Registers
Interval Timer
Memory Access
OUT
P37/BZ/PPG
PDR
PUL
RCR
SDR
Rsfr
RST
Sidr
SMC
SMR
Sodr
Tbtc
Tccr
TCR
TDR
Wdtc
Wrarh
Wrarl
Wrdr
418
Fujitsu Semiconductor Controller Manual
CM25-10153-2E