Short Direct Addressing - NEC mPD789426 Series User Manual

8-bit single-chip
Table of Contents

Advertisement

3.4.2 Short direct addressing

[Function]
The memory to be manipulated in the fixed space is directly addressed with 8-bit data in an instruction word.
The fixed space is the 256-byte space FE20H to FF1FH where the addressing is applied. Internal high-speed
RAM and special function registers (SFRs) are mapped at FE20H to FEFFH and FF00H to FF1FH,
respectively.
The SFR area (FF00H to FF1FH) where short direct addressing is applied is a part of the whole SFR area.
Ports that are frequently accessed in a program and the compare register of the timer/event counter are
mapped in this area, and these SFRs can be manipulated with a small number of bytes and clocks.
When 8-bit immediate data is at 20H to FFH, bit 8 of an effective address is set to 0. When it is at 00H to
1FH, bit 8 is set to 1. See [Illustration] below.
[Operand format]
Identifier
saddr
saddrp
[Description example]
MOV FE90H, #50H; When setting saddr to FE90H and the immediate data to 50H
[Illustration]
7
15
Effective
1
1
address
When 8-bit immediate data is 20H to FFH, α = 0.
When 8-bit immediate data is 00H to 1FH, α = 1.
72
CHAPTER 3 CPU ARCHITECTURE
Description
Label or FE20H to FF1FH immediate data
Label or FE20H to FF1FH immediate data (even address only)
Instruction code
1
1
1
0
0
1
0
OP code
saddr-offset
8
α
1
1
1
1
1
User's Manual U15075EJ1V0UM00
1
1
0
1
0
1
OP code
0
1
0
0
0
0
90H (saddr-offset)
0
1
0
0
0
0
50H (Immediate data)
0
Short direct memory

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd789436 seriesMpd789446 seriesMpd789456 seriesMpd789425Mpd789445Mpd789426 ... Show all

Table of Contents