Question
The questions following are based on Intel i86-64 Assembly language and the Intel Syntax as taught in class 1. In i86-64 Assembly how many bits
The questions following are based on Intel i86-64 Assembly language and the Intel Syntax as taught in class
1. In i86-64 Assembly how many bits are in a variable declared as shown below? counter dw 0x8000 A 4 bits B 8 bits C 16 bits D 32 bits E 64 bits
2. In i86-64 Assembly how many bits are in a variable declared as shown below? counter dq 0x8000 A 4 bits B 8 bits C 16 bits D 32 bits E 64 bits
3. The basic components of a computer include all of these except? A Central Processing Unit B Primary Storage C Random Access Memory D Cache Memory E Secondary Storage Answer: D. Cache Memory
4. True/False Secondary memory allows us to store memory and turn off the power to the system. Answer: True
5. True/False The Von Neumann Architecture allows us to separate the function of the computer by changing the code, creating a general purpose computer. Answer: True
6. How many general purpose registers are in the i86-64 architecture A 4 B 8 C 16 D 32 Answer: C. 16
7. What are XMM registers used for? A 32/64 bit Floating Point Operations B Single Instruction Multiple Data Instructions (SIMD) C 32/64 bit div and mul instructions D All of the above E A and B
8. In i86-64 Assembly how many bits are moved in the instruction as shown below? mov al, bl A 4 bits B 8 bits C 16 bits D 32 bits E 64 bits
9. In i86-64 Assembly how many bits are moved in the instruction as shown below? mov ax, bx A 4 bits B 8 bits C 16 bits D 32 bits E 64 bits
10. In i86-64 Assembly how many bits are moved in the instruction as shown below? mov eax, ebx A 4 bits B 8 bits C 16 bits D 32 bits E 64 bits
11. In i86-64 Assembly how many bits are moved in the instruction as shown below? mov r8, r9 A 4 bits B 8 bits C 16 bits D 32 bits E 64 bits
12. In i86-64 Assembly how do you reference r8 as 8 bits? A rl B r8b C rh D er8 E r8d
13. The sections of memory include A Data B Text C Heap D Stack E All of the above
14. Uninitialized data is defined/declared in which section? A Data B BSS C Text D Stack E All of the above
15. Hexadecimal numbers are used in programming to: A Make programming more difficult B Encode characters for interchange C Make it easier to represent binary data D Make programming easier E A and D only
In the following conversions when displaying binary a space has been added between nibbles to enhance readability only. 16. Convert 0xAB to binary A 1010 1011 B 1011 1010 C 0101 1101 D 1001 1011 E None of the above
17. Convert 0xFC to decimal A 251 B 250 C 75 D 253 E None of the above
18. Convert 200 (base 10) to Hexadecimal A 0xB7 B 0xBB C 0xC8 D 0xCC E None of the above
19. Convert 122 (base 10) to binary A 1000 1010 B 0111 1010 C 0110 0101 D 1010 0110 E None of the above
20. Convert 0110 0001 (base 2) to decimal A 79 B 78 C 87 D 97 E None of the above
21. Convert 1110 1001 (base 2) to Hexadecimal A 0xE9 B 0xF9 C 0x9E D 0x8F E None of the above
22. Which of these notations is valid for binary A 100b B 0b100 C b100 D A, B and C are all valid E None of these are valid
23. Which of these notations are valid in C A 0x100 B 0b100 C 100 D A, B and C are all valid E None of these are valid
24. ASCII stands for A American Standard Code for Information Interchange B American String Coding for Information Interchange C All Silly Coders Insist on Interrupts D None of the Above
25. BCD stands for A Binary Compressed Decimal B Binary Coded Decimal C Big Coding Device D Binary Comparison Device Answer: Binary Coded Decimal
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