Chapter 12 List of Machine Language Instructions

Register relative indirect addressing

Register relative indirect addressing determines the address to access using the following three combinations.

1.An address register, An, plus a sign-extended 8-bit or 16-bit displacement or the stack pointer register, SP, plus a zero-extended 8-bit or 16-bit displacement.

 

 

16

0

 

 

 

d16/d8

31

0

31

0

An/SP

 

sign-extended

 

 

 

+

 

31

 

0

 

RAM

 

 

 

 

Address specification

 

 

2. An address register, An, or the stack pointer register, SP, plus a 32-bit displacement.

31

0

31

0

An/SP

 

 

d32

 

 

+

 

31

 

 

0

RAM

 

 

 

 

Address specification

 

 

228 Addressing Modes

Page 240
Image 240
Panasonic MN1030 user manual Register relative indirect addressing