Inha university tashkent


PART - C : SINGLE STEP EXECUTION USING DDD DEBUGGER



Yüklə 78,46 Kb.
səhifə4/4
tarix23.12.2023
ölçüsü78,46 Kb.
#154629
1   2   3   4
U2010223 SPLABASSIGNMENT3

PART - 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



Yüklə 78,46 Kb.

Dostları ilə paylaş:
1   2   3   4




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə