|
Inha university tashkentPART - C : SINGLE STEP EXECUTION USING DDD DEBUGGER
|
səhifə | 4/4 | tarix | 23.12.2023 | ölçüsü | 78,46 Kb. | | #154629 |
| U2010223 SPLABASSIGNMENT3PART - C : SINGLE STEP EXECUTION USING DDD DEBUGGER
22. asmddd.s
You are required to run the program executable code using GNU ddd debugger by setting the breakpoints at the first instruction movq and the last instruction ret initially and then execute each instruction in single step (single instruction execution or Trace mode) mode by clicking the step button on the Command Tool window.
Setting the breakpoints and running the program
Move operand in hexadecimal 01289AB76EF34567 to accumulator rax
23. ffact.s
You are given the following x86-64 assembly language program containing recursive function to find the factorial of a given number n. Assemble the program using GNU as assembler, link and run the executable code for the given value of n using the GNU ddd debugger in step mode and trace the stack structure for all the recursive calls and returns.
R
Tuesday, March 29, 2022
Dostları ilə paylaş: |
|
|