Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a) ADD [BX], AL b) ADD BX, [ECX+2*EDX] c) INC BL d) SUB AX, SP e) SUB DI, array[ESI] Registers EAX CD6789AB EBX 00000020 ECX
a) ADD [BX], AL
b) ADD BX, [ECX+2*EDX]
c) INC BL
d) SUB AX, SP
e) SUB DI, array[ESI]
Registers EAX CD6789AB EBX 00000020 ECX 00000010 EDX 0000000F ESP 0000006B EBP 00000000 ESI 00000004 EDI00000008 Source Code DATA EQU 10h SWORD 5,0,6, 0,8,0, -1 DD OAFFFFH BYTE? len array Memory Data Segment 1250:0000 B4 4C CD 10 05 00 00 00 06 00 00 00 1250:000c 08 00 00 00 FF FF FF FF OA 00 OB 00 1250:0018 0C 00 12 11 18 17 4E OF 00 00 00 38 1250:0024 78 02 00 AF 00 BC 00 DE 01 00 43 56 1250:0030 01 00 34 00 56 00 11 00 34 00 22 00 DS 1250 EIP00000110 For the following instructions, if the instruction affects a register then shows the value in the 32 bit extended register If it affects memory, rewrite one entire line of memory that is affected. Assume carry flag 1 Registers EAX CD6789AB EBX 00000020 ECX 00000010 EDX 0000000F ESP 0000006B EBP 00000000 ESI 00000004 EDI00000008 Source Code DATA EQU 10h SWORD 5,0,6, 0,8,0, -1 DD OAFFFFH BYTE? len array Memory Data Segment 1250:0000 B4 4C CD 10 05 00 00 00 06 00 00 00 1250:000c 08 00 00 00 FF FF FF FF OA 00 OB 00 1250:0018 0C 00 12 11 18 17 4E OF 00 00 00 38 1250:0024 78 02 00 AF 00 BC 00 DE 01 00 43 56 1250:0030 01 00 34 00 56 00 11 00 34 00 22 00 DS 1250 EIP00000110 For the following instructions, if the instruction affects a register then shows the value in the 32 bit extended register If it affects memory, rewrite one entire line of memory that is affected. Assume carry flag 1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started