bonus_quiz6_sol

bonus_quiz6_sol - ECE2801FoundationsofEmbeddedSystems...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 2801 – Foundations of Embedded Systems Bonus Quiz #6 Name: __________________                                          ECE Box #: __________ 1) Name three ways that the normal sequential flow of execution of an assembly  language program can be altered? Jumps (branches), Function Calls and Interrupts. Also, RET and RETI will change sequential flow  (as will altering the PC directly through an instruction like MOV #lblname, PC  This is NOT recommended) 2) Explain difference between a jump and a procedure call? Jumps are one-way trips.  When a jump is taken there is no mechanism for returning to  the point in the code where the jump occurred. Procedures or functions are re-usable sub-blocks of code.  Procedures are designed to be  called and then to return to the calling point when done
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/27/2008 for the course ECE 2801 taught by Professor Jarvis during the Fall '08 term at WPI.

Ask a homework question - tutors are online