9 stack addressing – NEC 78K/0 Series User Manual

Page 31

Advertising
background image

31

CHAPTER 3 ADDRESSING

User's Manual U12326EJ4V0UM

3.2.9 Stack addressing

[Function]

The stack area is indirectly addressed with the stack pointer (SP) contents.

This addressing method is automatically employed when the PUSH, POP, subroutine call and RETURN

instructions are executed or the register is saved/reset upon generation of an interrupt request.

Stack addressing enables addressing of the internal high-speed RAM area only.

[Description example]

In the case of PUSH DE

Instruction code

1

0

1

1

0

1

0

1

Advertising