1-8 addressing modes – Panasonic MN101C77C User Manual

Page 62

Advertising
background image

Chapter 2 CPU Basics

II - 10

Overview

2-1-8

Addressing Modes

The MN101C77G series supports the nine addressing modes.

Each instruction uses a combination of the following addressing modes.

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. 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 and is only available with the MOV and MOVW instructions.

Combining handy addresssing with absolute addressing reduces code size. For transfer data between

memory, 7 addressing modes ; register indirect, register relative indirect, stack relative indirect, abso-

lute, RAM short, I/O short, handy can be used. For operation instruction, register direct and immediate

can be used. Refer to instruction's manual for the MN101C series.

This LSI is designed for 8-bit data access. It is possible to tranfer data in 16-bit increments

with odd or all even addresses.

Advertising
This manual is related to the following products: