Question: Section 1 Question 1 (10 points) 1. List the 3 operands types. (1 point) 2. What are the four essential stattes flags? (2 points) 3.
Section 1 Question 1 (10 points) 1. List the 3 operands types. (1 point) 2. What are the four essential stattes flags? (2 points) 3. All two-operand instructions are in the form: OpCode Destination, Source (1 point) 4. How can we scale an indirect or indexed operand to the offset of an array element? (2 points) 5. What are the two situations in which the owertow flag is set? (2 points) 6. What does the LENGTHOF operator do: (2 points) Question 2 (20 points) 1. What will be the value in EDX after each of the lines marked (a) and (b) execute? (4 points) one WORD 8002h two WORD 4321h code moved, 21345041h movsx edx.one: (a) movsx edx,two : (b) data 2. What will be the value of the Parity flng after the following lines execute? (2 points) mo al, 1 add al 3 3. Explain briefly one difference between direct and indirect addressing, (5 points) 4. Explain why each of the following MOV statements are invalid: (5 points) data bVal BYTE 100 Val2 BYTE? wVal WORD 2 dVal DWORDS code moves. 15 mo ah, wVal moveip.dval mov 25, Val mov bVal2bVal 6. What are the four main tasks of the LABEL. Directive? (4 points) 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
