Panasonic MN101C77C, F77G user manual Addressing Modes

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 62
Image 62

Chapter 2 CPU Basics

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.

II - 10 Overview

Page 62
Image 62
Panasonic MN101C77C, F77G user manual Addressing Modes