Topic 4a - Procedures I - S

Topic 4a - Procedures I - S - Computer Architecture...

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

View Full Document Right Arrow Icon
Computer  Architecture Procedures I Reading: 2.8;  B.6
Background image of page 1

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

View Full DocumentRight Arrow Icon
Outline  Procedure steps Registers Instructions PC Spilling registers Stack and frames
Background image of page 2
“The most difficult thing is the decision to act,  the rest is merely tenacity…You can do anything  you decide to do. You can act to change and  control your life; and the  procedure , the process  is its own reward.” Amelia Earhart
Background image of page 3

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

View Full DocumentRight Arrow Icon
Why do we need  Procedures/Functions? More manageable Easier to understand, modify, maintain Reusable
Background image of page 4
Boss Going on Vacation 1. Boss puts Files where Assistant can get  them 2. Boss transfers control to Assistant and  leaves 3. Assistant gets all the equipment he needs to  accomplish the task 4. Assistant performs the task 5. Assistant puts files where Boss can get them 6. Boss returns to office and continues the work
Background image of page 5

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

View Full DocumentRight Arrow Icon
Procedure Calling Steps required 1.
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 01/20/2012.

Page1 / 22

Topic 4a - Procedures I - S - Computer Architecture...

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

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