A5 scripts
NOTE: These are for my tutorials ONLY (T03/T06). You should check with your own TA to see what they are expecting, since they will be grading your assignments.
For the scripts, you don't have to use gdb at all.
For part A:
- pop a number, should display an underflow error
- push 6 numbers, should display an overflow error
- pop 2 numbers
- display, should show 3 numbers in the stack, with the top of the stack displayed as well
- exit
For part B:
./a5b 9 11 1990 no errors
./a5b -9 -11 1990 error for either month or day, should not crash
./a5b 99 111 1990 error for either month or day, should not crash
./a5b error for invalid arg count