Question: ;File: exam 2 _ 1 . asm ;Student: YourFullName Next to the above lines, write an Assembly code to display your full name. Then, write

;File: exam2_1.asm
;Student: YourFullName
Next to the above lines, write an Assembly code to display your full name.
Then, write the Assembly code that loads an integer 7 to the "eax" register, then use the "inc" instruction to increase the value in "eax" to 9. Finally, display the value stored in "eax" on the console screen. [Note: You must load the designated value to "eax" and use "inc" to increase the value in "eax".]
Compile the program to build an .exe file named "exam2_1.exe". [Hint: compile: nasm -fwin32 filename.asm and link: gcc -m32 filename.obj -o filename.exe]
Make sure the output look similar to the following. Be sure to display your full name.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!