Freescale Semiconductor MC68HC08KH12 User Manual

Page 46

Advertising
background image

Advance Information

MC68HC(7)08KH12

Rev. 1.1

46

Freescale Semiconductor

During a subroutine call, the CPU uses two bytes of the stack to store
the return address. The stack pointer decrements during pushes and
increments during pulls.

NOTE:

Be careful when using nested subroutines. The CPU may overwrite data
in the RAM during a subroutine or during the interrupt stacking
operation.

Advertising