{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


bonus_quiz6_sol - BonusQuiz#6 Name ECEBox 1 Jumps(branches,...

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.

{[ snackBarMessage ]}

Ask a homework question - tutors are online