72
CHAPTER 3 CPU ARCHITECTURE
Preliminary User’s Manual U14581EJ3V0UM00
3.4.7 Based addressing
[Function]
8-bit immediate data is added as offset data to the contents of the base register, that is, the HL register pair in
an instruction word of the register bank specified with the register bank select flags (RBS0 and RBS1) and the
sum is used to address the memory. Addition is performed by expanding the offset data as a positive number
to 16 bits. A carry from the 16th bit is ignored. This addressing can be carried out for all the memory spaces.
[Operand format]
Identifier
Description
—
[HL + byte]
[Description example]
MOV A, [HL + 10H]; when setting byte to 10H
Operation code
1 0 1 0 1 1 1 0
0 0 0 1 0 0 0 0
3.4.8 Based indexed addressing
[Function]
The B or C register contents specified in an instruction word are added to the contents of the base register, that
is, the HL register pair in an instruction word of the register bank specified with the register bank select flags
(RBS0 and RBS1) and the sum is used to address the memory. Addition is performed by expanding the B or
C register contents as a positive number to 16 bits. A carry from the 16th bit is ignored. This addressing can
be carried out for all the memory spaces.
[Operand format]
Identifier
Description
—
[HL + B], [HL + C]
[Description example]
In the case of MOV A, [HL + B]
Operation code
1 0 1 0 1 0 1 1
Summary of Contents for mPD780852 Series
Page 2: ...2 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 8: ...8 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 12: ...12 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 26: ...26 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 46: ...46 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 74: ...74 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 90: ...90 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 100: ...100 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 136: ...136 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 142: ...142 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 186: ...186 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 222: ...222 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 230: ...230 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 240: ...240 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 262: ...262 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 296: ...296 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 304: ...304 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Page 314: ...314 Preliminary User s Manual U14581EJ3V0UM00 MEMO...