upd78f9211grt2-jjg-a ETC-unknow, upd78f9211grt2-jjg-a Datasheet - Page 45

no-image

upd78f9211grt2-jjg-a

Manufacturer Part Number
upd78f9211grt2-jjg-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
ETC-unknow
Datasheet
3.4.2 Short direct addressing
[Function]
[Description example]
[Illustration]
The memory to be manipulated in the fixed space is directly addressed with the 8-bit data in an instruction word.
The fixed space where this addressing is applied is the 160-byte space FE80H to FF1FH (FE80H to FEFFH
(internal high-speed RAM) + FF00H to FF1FH (special function registers)).
The SFR area where short direct addressing is applied (FF00H to FF1FH) is a part of the total SFR area. In this
area, ports which are frequently accessed in a program and a compare register of the timer counter are mapped,
and these SFRs can be manipulated with a small number of bytes and clocks.
When 8-bit immediate data is at 80H to FFH, bit 8 of an effective address is cleared to 0. When it is at 00H to
1FH, bit 8 is set to 1. See [Illustration] below.
EQU DATA1 0FE90H ; DATA1 shows FE90H of a saddr area,
MOV DATA1, #50H
Effective
address
Identifier
saddrp
15
saddr
When 8-bit immediate data is 20H to FFH,
When 8-bit immediate data is 00H to 1FH,
7
1
Instruction code
1
1
saddr-offset
OP code
Label or FE80H to FF1FH immediate data
Label or FE80H to FF1FH immediate data (even address only)
1
; When setting the immediate data to 50H
1
1
1
1
0
1
CHAPTER 3 CPU ARCHITECTURE
1
0
1
0
8
User’s Manual U16994EJ3V0UD
0
0
1
Description
1
1
1
= 1.
= 0.
0
0
0
1
0
0
0
0
0
0
1
0
0
OP code
90H (saddr-offset)
50H (immediate data)
Short direct memory
45

Related parts for upd78f9211grt2-jjg-a