Special Function Register (Sfr) Addressing - NEC 78K/0S Series User Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

3.2.3 Special function register (SFR) addressing

[Function]
This addressing is to address special function registers (SFRs) mapped to the memory with the 8-bit immediate
data in an instruction word.
This addressing is applied to the 240-byte spaces of FF00H to FFCFH and FFE0H to FFFFH. However, the
SFRs mapped at FF00H to FF1FH can also be accessed by means of short direct addressing.
[Operand format]
Operand
sfr
Special function register name
[Description example]
MOV PM0, A; When selecting PM0 for sfr
Instruction code
[Illustration]
7
15
Effective
1
1
1
address
CHAPTER 3 ADDRESSING
1
1
0
0
0
OP code
sfr-offset
8 7
1
1
1
1
1
User's Manual U11047EJ3V0UM00
Description
1
0
0
1
1
1
1
0
0
0
0
0
0
SFR
35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents