(Solved) : Question 5 20 Points Intel Assembly Language Programming Consider Following Intel Assembly Q42782478 . . .

Question 5: [20 points ] (Intel Assembly Language Programming) Consider the following Intel assembly language listing file: T

Question 5: [20 points ] (Intel Assembly Language Programming) Consider the following Intel assembly language listing file: Ted Obuchowicz 1 2 Thu Feb 23 21:00:27 EST 2012 PROGRAM 1 section .data number: db 1,2,3,4,5 6 00000000 0102030405 7 00000005 00 db 0 sum: 10 зеction .text 11 global start 12 13 start: keith mov ecx, S mov eax, 0 mov ebx, number again: add al, [ebx] add ebx,1 sub ecx,1 jnz again mov [sum], al 14 00000000 B905000000 15 00000005 B800000000 ron: 16 0000000A BB[00000000] 17 0000000F 0203 18 00000011 81C301000000 19 00000017 81E901000000 20 0000001D 75FO 21 0000001F A2[05000000] 22 23 00000024 B801000000 mov eax, 1 mov ebx,0 int 80h 24 00000029 BB00000000 25 0000002E CD80 (a) When this program is run, what value will be stored in memory location sum? Give your answer in hexadecimal notation (b) What is the significance of the value FO in line 20 (indicated in bold font)? Show transcribed image text Question 5: [20 points ] (Intel Assembly Language Programming) Consider the following Intel assembly language listing file: Ted Obuchowicz 1 2 Thu Feb 23 21:00:27 EST 2012 PROGRAM 1 section .data number: db 1,2,3,4,5 6 00000000 0102030405 7 00000005 00 db 0 sum: 10 зеction .text 11 global start 12 13 start: keith mov ecx, S mov eax, 0 mov ebx, number again: add al, [ebx] add ebx,1 sub ecx,1 jnz again mov [sum], al 14 00000000 B905000000 15 00000005 B800000000 ron: 16 0000000A BB[00000000] 17 0000000F 0203 18 00000011 81C301000000 19 00000017 81E901000000 20 0000001D 75FO 21 0000001F A2[05000000] 22 23 00000024 B801000000 mov eax, 1 mov ebx,0 int 80h 24 00000029 BB00000000 25 0000002E CD80 (a) When this program is run, what value will be stored in memory location sum? Give your answer in hexadecimal notation (b) What is the significance of the value FO in line 20 (indicated in bold font)?

Expert Answer


Answer to Question 5: [20 points ] (Intel Assembly Language Programming) Consider the following Intel assembly language listing fi…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us