Addressing Modes - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

Chapter 2
CPU
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].
Overview
II - 9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents