✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Modify the program so that you define the following declaration of .data section:
.data
variables:
.word 0x55AA
.align 8
.quad 0xDEADCAFE87654321
.quad 0
The .word directive is used to declare an short int type variable with a lenght of 16 bits (2 bytes).The .quad directive is used to declare an long long int type variable with a lenght of 64 bits (8 bytes).
Also, adequately modify the program to build it successfully and perform the memory dump in the debug session. This way you will see the contents of the data section properly.
Similarly to the previous exercise, copy & paste the memory dumps and highlight the values according to the instructions in the template. Also, attach the source code .asm file for a reference (however the source code will not be graded).
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!