ECE 2801 – Foundations of Embedded SystemsBonus Quiz #6Name: __________________ 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
This is the end of the preview.
access the rest of the document.