EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2
CPU
Overview II - 9
2.1.8 Addressing Modes
The AM13L microcomputer core supports the 9 addressing modes. Each instruction uses a combination of the
following addressing.
1. Register direct
2. Immediate
3. Register indirect
4. Register relative indirect
5. Stack relative indirect
6. Absolute
7. RAM short
8. I/O short
9. Handy
These addressing modes are well-suited for C language compilers.
For operation instruction, register direct and immediate can be used. All of the addressing modes can be used for
data transfer instructions. In modes that allow half-byte addressing, the relative value can be specified in half-byte
(4-bit) increments, so that instruction length can be shorter. Handy addressing reuses the last memory address
accessed. There are 3 instructions that can use this mode: "MOV Dn, (HA)", "MOVW DWn, (HA)",
"MOVW An, (HA)". Combining handy addressing with absolute addressing reduces code size. For transfer data
between memory, 8 addressing modes; register indirect, register relative indirect, stack relative indirect, absolute,
RAM short, I/O short, handy can be used. Refer to [MN101L Series Instruction Manual].

Table of Contents

Related product manuals