Now, use breakpoints, and disassembly to solve the following questions. If you understand what the C code
Fantastic news! We've Found the answer you've been seeking!
Question:
Now, use breakpoints, and disassembly to solve the following questions. If you understand what the C code is supposed to do, figuring out what the assembly is doing can be done without looking up any opcodes.
Listing for whitcLoop.c:1. Show the lines of assembly that make up the while loop part of the main function. Specifically highlight the loop test condition.
2. Compare the assembly of the whileLoop.c to the same function written with a for loop. What is the difference between them in assembly?
Listing for forLoops.c:
Related Book For
Physics
ISBN: 978-0077339685
2nd edition
Authors: Alan Giambattista, Betty Richardson, Robert Richardson
Posted Date: