Question: please post full work, thank you 1. A.What will be the value of EAX and sign flag after the following lines execute? Mov eax, 6


please post full work, thank you
1. A.What will be the value of EAX and sign flag after the following lines execute? Mov eax, 6 Sub eax, 5 Is it possible to set the overflow flag if you add a negative integer to a negative integer? Explain with examples where applicable. C.Is it possible for both the sign and zero flags to be set at that same time? State reasons. D.In the following code, the value in AL is intended to be a signed byte. Does the overflow flag help to determine whether the final value in AL is within a valid signed range? Explain. mov al, -1 add al, 130 E.What will be the value of the parity flag after the following lines execute? Mov al, 2 Add al, 5 2. Given the following data declarations data Alpha Beta Delta lota Zeta BYTE 1Ah, 2Bh, 3Ch, 4CH DWORD 11223344h DWORD 44332211h DWORD 434h WORD 124h A. B. C. Write instructions that move Delta into ECX and then adds Beta to the same register Write a set of instructions that adds all the elements of the array Alpha into Al Write a set of instructions that moves Beta into EAX, adds the value stored in Zeta to the same register D. Write an instruction that moves the last two bytes in ALPHA into AX. E. What are the contents of AX subsequent to part D of this question? 3. Fill in the requested register values after executions of the instructions Show the memory map data myBytes BYTE 11h, 22h, 33h, 44h 1. A.What will be the value of EAX and sign flag after the following lines execute? Mov eax, 6 Sub eax, 5 Is it possible to set the overflow flag if you add a negative integer to a negative integer? Explain with examples where applicable. C.Is it possible for both the sign and zero flags to be set at that same time? State reasons. D.In the following code, the value in AL is intended to be a signed byte. Does the overflow flag help to determine whether the final value in AL is within a valid signed range? Explain. mov al, -1 add al, 130 E.What will be the value of the parity flag after the following lines execute? Mov al, 2 Add al, 5 2. Given the following data declarations data Alpha Beta Delta lota Zeta BYTE 1Ah, 2Bh, 3Ch, 4CH DWORD 11223344h DWORD 44332211h DWORD 434h WORD 124h A. B. C. Write instructions that move Delta into ECX and then adds Beta to the same register Write a set of instructions that adds all the elements of the array Alpha into Al Write a set of instructions that moves Beta into EAX, adds the value stored in Zeta to the same register D. Write an instruction that moves the last two bytes in ALPHA into AX. E. What are the contents of AX subsequent to part D of this question? 3. Fill in the requested register values after executions of the instructions Show the memory map data myBytes BYTE 11h, 22h, 33h, 44h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
