Question
10. What is the EAX value after add and sub instruction ? .data var1 DWORD 10000h var2 DWORD 20000h .code mov eax,var1 ; add eax,var2
10. What is the EAX value after add and sub instruction ? .data var1 DWORD 10000h var2 DWORD 20000h .code mov eax,var1 ; add eax,var2 ; sub eax,var1 ; EAX =?? a. 00010000h b. 00020000h c. 00030000h d. 00040000h
11. The _____________ indicates signed integer overflow. a. Parity flag b. Overflow flag c. Sign flag d. Auxiliary flag
12. What is the sign flag value for following code? mov eax,4 sub eax,5 ; SF = ???? a. 0 b. 1 c. -1 d. None of the above
13. What is the overflow flag value for following code mov al,-128 sub al,1 ; OF = ???? a. 0 b. 1 c. -1 d. None of the above
14. Which of the following is an example of string literal? a. -44.2E+05 b. eb c. ABC d. 0011 1100
15. Reserved words can be -------------. a. Instruction mnemonics b. Register names c. Predefined symbols d. ALL
16. Represent 12345678h in Little-endian order. Draw the diagram using some arbitrary values of memory addresses.
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