Handout 5B - Stack Pointer is increased by 1 for PSHA/B (or...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Handout 5B: Chapter 3 p. 1 Handout 5B –Chapter 3 Figures & Examples Stack Push/Pull Example Assembly code executed PSHA PSHB PULA PULB Observations Stack Pointer points to “top of stack”; contains address of top_of_stack+1 Stack Pointer is decreased by 1 for PSHA/B (or by 2 for PSHD/X/Y/C)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Stack Pointer is increased by 1 for PSHA/B (or by 2 for PSHD/X/Y/C) Stack functions as first-in / last-out (FILO) Data is not removed from Stack by a PUL instruction Handout 5B: Chapter 3 p. 2 68HC12 Memory Map...
View Full Document

This note was uploaded on 09/29/2009 for the course ECE 331 taught by Professor M.shanblatt during the Spring '08 term at Michigan State University.

Page1 / 2

Handout 5B - Stack Pointer is increased by 1 for PSHA/B (or...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online