Special-Function Register (Sfr) Addressing - NEC mPD780208 Subseries User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

3.4.5 Special-function register (SFR) addressing

[Function]
A memory-mapped special-function register (SFR) is addressed with 8-bit immediate data in an instruction word.
This addressing is applied to the 240-byte spaces FF00H to FFCFH and FFE0H to FFFFH. However, the SFRs
mapped at FF00H to FF1FH can be accessed with short direct addressing.
[Operand format]
Identifier
sfr
sfrp
[Description example]
MOV PM0, A; when selecting PM0 (FF20H) as sfr
Operation code
[Illustration]
7
15
1
1
1
Effective address
76
CHAPTER 3 CPU ARCHITECTURE
Description
Special-function register name
16-bit manipulatable special-function register name (even address only)
1
1
1
1
0
0
0
1
0
0
0
Opcode
sfr-offset
8
7
1
1
1
1
1
User's Manual U11302EJ4V0UM
Opcode
1
1
0
0
0
0
20H (sfr-offset)
0
SFR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780204Mpd780206Mpd780208Mpd78p0208Mpd780204aMpd780205a ... Show all

Table of Contents