NEC PD789860 User Manual page 11

8-bit single-chip microcontrollers pd789860 subseries; pd789861 subseries
Table of Contents

Advertisement

4.1.4
Data memory addressing ............................................................................................................ 42
4.2
Processor Registers .................................................................................................................. 44
4.2.1
Control registers .......................................................................................................................... 44
4.2.2
General-purpose registers........................................................................................................... 46
4.2.3
Special function registers (SFRs) ................................................................................................ 47
4.3
Instruction Address Addressing .............................................................................................. 49
4.3.1
Relative addressing..................................................................................................................... 49
4.3.2
Immediate addressing ................................................................................................................. 50
4.3.3
Table indirect addressing ............................................................................................................ 50
4.3.4
Register addressing .................................................................................................................... 51
4.4
Operand Address Addressing.................................................................................................. 52
4.4.1
Direct addressing ........................................................................................................................ 52
4.4.2
Short direct addressing ............................................................................................................... 53
4.4.3
Special function register (SFR) addressing ................................................................................. 54
4.4.4
Register addressing .................................................................................................................... 55
4.4.5
Register indirect addressing ........................................................................................................ 56
4.4.6
Based addressing........................................................................................................................ 57
4.4.7
Stack addressing......................................................................................................................... 57
CHAPTER 5 EEPROM (DATA MEMORY)............................................................................................ 58
5.1
Memory Space............................................................................................................................ 58
5.2
EEPROM Configuration............................................................................................................. 58
5.3
EEPROM Control Register ........................................................................................................ 58
5.4
Notes for EEPROM Writing ....................................................................................................... 61
CHAPTER 6 PORT FUNCTIONS........................................................................................................... 63
6.1
Port Functions............................................................................................................................ 63
6.2
Port Configuration ..................................................................................................................... 63
6.2.1
Port 0........................................................................................................................................... 64
6.2.2
Port 2........................................................................................................................................... 65
6.2.3
Port 4........................................................................................................................................... 66
6.3
Port Function Control Registers .............................................................................................. 67
6.4
Operation of Port Functions ..................................................................................................... 68
6.4.1
Writing to I/O port ........................................................................................................................ 68
6.4.2
Reading from I/O port.................................................................................................................. 68
6.4.3
Arithmetic operation of I/O port.................................................................................................... 68
7.1
Clock Generator Functions....................................................................................................... 69
7.2
Clock Generator Configuration ................................................................................................ 69
7.3
Clock Generator Control Register............................................................................................ 70
7.4
System Clock Oscillators.......................................................................................................... 71
7.4.1
System clock oscillator ................................................................................................................ 71
7.4.2
Examples of incorrect resonator connection................................................................................ 72
7.4.3
Frequency divider........................................................................................................................ 73
µ
PD789860 SUBSERIES) ....................................................... 69
User's Manual U14826EJ5V0UD
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78e9861aPd78e9860aPd789860(a)Pd789861

Table of Contents