Answered step by step
Verified Expert Solution
Question
1 Approved Answer
micro & assembly lang lab Ck Submit to complete this assessment Question 1 Based on the below program, answer the following questions 386 - model
micro & assembly lang lab
Ck Submit to complete this assessment Question 1 Based on the below program, answer the following questions 386 - model flat, stdcall stack 4096 ExitProcess proto, dwExitCode: dword data org 100h Data1 DW 1604, 14, 12 Data2 DO 7 Data3 DB 15 Data 4 DB 10 code main proc 1. mov edx, 2. mov ecx, 3. mov ebx, e 4. mov eax, 12345678h 5.mov d, 4 6. mov ax, [Datal + 2] 7. mov [Data2), eax 8. mov edx, 12348000h 9. moveax, 59h 18.mov bx 5 call ExitProcess main endp end main 1. After executing line 1.2.3 and 4 using step into, what is the value of the registers:RAX, EBX, ECX & EDX, 2 After executing line 5 and 6 using step inte, what is the value of the registers EAX, EBX, ECX & EDX. 3 After executing line 7 using step inte, what is the value of the registers EAX.EBX, ECX & EDX. 4 Afer executing line 8, 9, 10 and 11 using step Inte, what is the value of the registers EAX, EBX, ECX & EDX. 5 After executing all lines using step into, modify the below memory values if needed: 0x00274100 00 00 00 00 00 00 00 00 00 00 00 0x00274103 00 00 00 00 00 00 00 00 00 00 00 0x60214116 00 00 00 00 00 00 00 00 00 00 00 0:00274121 00 00 00 00 00 00 00 00 00 00 00 0.00274120 00 00 00 00 00 00 00 00 00 00 00 0.00274137 00 00 00 00 00 00 00 00 00 00 00 0:00274142 00 00 00 00 00 00 00 00 00 00 00 6 Question: Write an assembly code to copy the content of Data4 to one of the data registers using 1. Direct addressing mode 2. Indirect addressing mode PE Ck Submit to complete this assessment Question 1 Based on the below program, answer the following questions 386 - model flat, stdcall stack 4096 ExitProcess proto, dwExitCode: dword data org 100h Data1 DW 1604, 14, 12 Data2 DO 7 Data3 DB 15 Data 4 DB 10 code main proc 1. mov edx, 2. mov ecx, 3. mov ebx, e 4. mov eax, 12345678h 5.mov d, 4 6. mov ax, [Datal + 2] 7. mov [Data2), eax 8. mov edx, 12348000h 9. moveax, 59h 18.mov bx 5 call ExitProcess main endp end main 1. After executing line 1.2.3 and 4 using step into, what is the value of the registers:RAX, EBX, ECX & EDX, 2 After executing line 5 and 6 using step inte, what is the value of the registers EAX, EBX, ECX & EDX. 3 After executing line 7 using step inte, what is the value of the registers EAX.EBX, ECX & EDX. 4 Afer executing line 8, 9, 10 and 11 using step Inte, what is the value of the registers EAX, EBX, ECX & EDX. 5 After executing all lines using step into, modify the below memory values if needed: 0x00274100 00 00 00 00 00 00 00 00 00 00 00 0x00274103 00 00 00 00 00 00 00 00 00 00 00 0x60214116 00 00 00 00 00 00 00 00 00 00 00 0:00274121 00 00 00 00 00 00 00 00 00 00 00 0.00274120 00 00 00 00 00 00 00 00 00 00 00 0.00274137 00 00 00 00 00 00 00 00 00 00 00 0:00274142 00 00 00 00 00 00 00 00 00 00 00 6 Question: Write an assembly code to copy the content of Data4 to one of the data registers using 1. Direct addressing mode 2. Indirect addressing mode PE Ck Submit to complete this assessment Question 1 Based on the below program, answer the following questions 386 - model flat, stdcall stack 4096 ExitProcess proto, dwExitCode: dword data org 100h Data1 DW 1604, 14, 12 Data2 DO 7 Data3 DB 15 Data 4 DB 10 code main proc 1. mov edx, 2. mov ecx, 3. mov ebx, e 4. mov eax, 12345678h 5.mov d, 4 6. mov ax, [Datal + 2] 7. mov [Data2), eax 8. mov edx, 12348000h 9. moveax, 59h 18.mov bx 5 call ExitProcess main endp end main 1. After executing line 1.2.3 and 4 using step into, what is the value of the registers:RAX, EBX, ECX & EDX, 2 After executing line 5 and 6 using step inte, what is the value of the registers EAX, EBX, ECX & EDX. 3 After executing line 7 using step inte, what is the value of the registers EAX.EBX, ECX & EDX. 4 Afer executing line 8, 9, 10 and 11 using step Inte, what is the value of the registers EAX, EBX, ECX & EDX. 5 After executing all lines using step into, modify the below memory values if needed: 0x00274100 00 00 00 00 00 00 00 00 00 00 00 0x00274103 00 00 00 00 00 00 00 00 00 00 00 0x60214116 00 00 00 00 00 00 00 00 00 00 00 0:00274121 00 00 00 00 00 00 00 00 00 00 00 0.00274120 00 00 00 00 00 00 00 00 00 00 00 0.00274137 00 00 00 00 00 00 00 00 00 00 00 0:00274142 00 00 00 00 00 00 00 00 00 00 00 6 Question: Write an assembly code to copy the content of Data4 to one of the data registers using 1. Direct addressing mode 2. Indirect addressing mode PE Ck Submit to complete this assessment Question 1 Based on the below program, answer the following questions 386 - model flat, stdcall stack 4096 ExitProcess proto, dwExitCode: dword data org 100h Data1 DW 1604, 14, 12 Data2 DO 7 Data3 DB 15 Data 4 DB 10 code main proc 1. mov edx, 2. mov ecx, 3. mov ebx, e 4. mov eax, 12345678h 5.mov d, 4 6. mov ax, [Datal + 2] 7. mov [Data2), eax 8. mov edx, 12348000h 9. moveax, 59h 18.mov bx 5 call ExitProcess main endp end main 1. After executing line 1.2.3 and 4 using step into, what is the value of the registers:RAX, EBX, ECX & EDX, 2 After executing line 5 and 6 using step inte, what is the value of the registers EAX, EBX, ECX & EDX. 3 After executing line 7 using step inte, what is the value of the registers EAX.EBX, ECX & EDX. 4 Afer executing line 8, 9, 10 and 11 using step Inte, what is the value of the registers EAX, EBX, ECX & EDX. 5 After executing all lines using step into, modify the below memory values if needed: 0x00274100 00 00 00 00 00 00 00 00 00 00 00 0x00274103 00 00 00 00 00 00 00 00 00 00 00 0x60214116 00 00 00 00 00 00 00 00 00 00 00 0:00274121 00 00 00 00 00 00 00 00 00 00 00 0.00274120 00 00 00 00 00 00 00 00 00 00 00 0.00274137 00 00 00 00 00 00 00 00 00 00 00 0:00274142 00 00 00 00 00 00 00 00 00 00 00 6 Question: Write an assembly code to copy the content of Data4 to one of the data registers using 1. Direct addressing mode 2. Indirect addressing mode PE Step 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