Addressing modes – Samsung S3F80JB User Manual

Page 54

Advertising
background image

S3F80JB

ADDRESSING MODES

3-1

3

ADDRESSING

MODES

OVERVIEW

The program counter is used to fetch instructions that are stored in program memory for execution. Instructions
indicate the operation to be performed and the data to be operated on. Addressing mode is the method used to
determine the location of the data operand. The operands specified in instructions may be condition codes,
immediate data, or a location in the register file, program memory, or data memory.

The S3C8/S3F8-series instruction set supports seven explicit addressing modes. Not all of these addressing
modes are available for each instruction:

— Register

(R)

— Indirect Register (IR)

— Indexed

(X)

— Direct Address (DA)

— Indirect

Address

(IA)

— Relative Address (RA)

— Immediate

(IM)

Advertising