Homework 3

Due Thursday, November 8

In this problem, you will write an assembly language file, SpecialStack.s, which manages a stack of your own, NOT one pointed to by ESP. The routines will be callable from C. Here are the details:

Error checking:

Other than as specified in popstack(), you need not write error-checking code.

Testing:

Matt will be testing your code by calling it from C; make sure you check beforehand that that will work. Of course, set a small chunk size for easy testing.