hw3 - also submit a printout of the list file) Stack:...

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

View Full Document Right Arrow Icon
University of Florida EEL 4744 Dr. Eric M Schwartz Electrical & Computer Engineering 7-Feb-12 Page 1/1 Homework 3 Revision 0 Instructions Note: Late HW is not accepted! HW is due at the beginning of class. Put your “last name, first name” and the HW number in the top right hand corner of the first page of all HW assignments. Staple your pages together. Do not put your social security number or your UF ID number on your HW. Attach all program listings (if any), i.e., list files. Verify your program solutions on the simulator when possible. 6.1, 6.2, 6.11, 6.12, 6.15, 6.16, 6.23 (for problem 6.23, also write the main routine to test this subroutine; print out a screenshot of the program with the result shown in a memory window;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: also submit a printout of the list file) Stack: Assume that the stack pointer is appropriately initialized. Push a 0x37, 0xAB, 0xEF12 onto the stack, call a subroutine. In the subroutine, push 0x1C onto the stack, then return from subroutine. Show the stack growing and shrinking with each described step. What address do you return to with the described scenario. Predict the outcome (i.e., make a table) and then TRY IT , i.e., run this code by single stepping through it. Print out a screen shot of your code that also shows the stack (in a memory window) after the return from subroutine. Also print the list file of your program....
View Full Document

Ask a homework question - tutors are online