Hitachi H8/300H Series Programming Manual page 14

Table of Contents

Advertisement

The memory indirect addressing mode (@@aa:8) employed in the JMP and JSR instructions uses
an 8-bit absolute address to specify a memory operand that contains a branch address. In advanced
mode the operand is a 32-bit longword operand, of which the lower 24 bits are the branch address.
Branch addresses can be stored in the top area from H'000000 to H'0000FF. Note that this area is
also used for the exception vector table.
Stack Structure:When the program counter (PC) is pushed on the stack in a subroutine call, and
the PC and condition-code register (CCR) are pushed on the stack in exception handling, they are
stored as shown in figure 1-5.
(a) Subroutine branch
(b) Exception handling
SP
SP
Reserved
CCR
PC
PC
(24 bits)
(24 bits)
Figure 1-5 Stack Structure (advanced mode)
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents