Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Modify this C 2 A 2 E 3 _ StackDiagram.txt Recursive Stack Diagram Rel Abs Stack Description Item Adr Adr Value Size - - -
Modify this CAEStackDiagram.txt
Recursive Stack Diagram
Rel Abs Stack Description Item
Adr Adr Value Size
startup
Sample Stack Diagram
Rel Abs Stack Description Item
Adr Adr Value Size
startup
BPh Ch AFh Function Return Address bytes
BP h h Previous Frame Address bytes
main
BPEh h Return Object bytes
BPh Ah Function Return Address bytes
BP h h Previous Frame Address bytes
BPh Fh x bytes
Ready
BPh h h Function Return Address bytes
BP h h Previous Frame Address bytes
Recur
BPEh Dh value bytes
BPh h h Function Return Address bytes
BP FFh h Previous Frame Address bytes
Recur
BPEh FBh y bytes
BPh Fh h Function Return Address bytes
BP EDh FFh Previous Frame Address bytes
Recur
BPEh Eh y bytes
BPh Eh h Function Return Address bytes
BP & SP DBh EDh Previous Frame Address bytes a There must be a dividing line before each frame that indicates the name of the function it
represents. If the function is being used recursively, that name must be followed by a
space and a number indicating the frames recursive level
b If a stack item represents a variable, place its name in the "Description" column
Continued on the next page..
Function ready
Operation Instruction Address
assignment to temp Dh
Function gcd
Operation Instruction Address
nd return in gcd Ah
Function main
Operation Instruction Address
assignment to result hPersonalized CA requirements exclusively for Lawrence Woods U
CC Programming II Section
Page
CAEU Ray Mitchell Page of of CAE
CAE requirements continued
Numeric values must be decimal or hexadecimal according to the guidelines below. Decimal
values do not have a suffix while hexadecimal values must have an h suffix
a The values of variables x and y and the number of bytes in each item must be decimal
b All addresses must be hexadecimal
c The BP offset values of relative addresses may be decimal or hexadecimal
Use a double question mark for the values of:
a All return objects
b Variables that are assigned values after a function returns
c Values for which insufficient information is provided
General formatting:
aHard tab characters are not allowed
b Columns must be aligned and there must be nothing between them but spaces
c Do not number lines or add additional information
d No line may exceed columns
Before submitting your modified CAEStackDiagram.txt file to the assignment checker, delete
everything in it except your modified title block and completed stack diagram.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started