Module #1 Study Deck Flashcards
A ____(1)______ Architecture’s instructions are decoded to micro-programs which are executed by the CPU, whereas a _____(2)_____ Architecture’s instructions are directly executed by the CPU.
- Complex Instruction Set Computer (CISC)
- Reduced Instruction Set Computers (RISC)
Which of the following best describes the relationship from assembly language instructions to machine language instructions?
Nearly One-to-one
What type of tool can convert ARM Assembly to x86 Assembly?
Cross Assembler
Compared to higher-level languages, which of the following are benefits of Assembly Language programming? (Check all that apply)
- Ease of Use
- Direct Manipulation of Memory
- Hands-on Code Optimization
- Intuitive Programs
- Integrated Tools
- Direct Manipulation of Memory
- Hands-on Code Optimization
What mechanism is used to turn Assembly Language code to Machine Code?
Assembler
A signed integer stores the sign in the most significant bit (MSB)
True / False
True
If an integer’s sign bit is 1, the integer is positive.
True / False
False
How many bytes long is a QUADWORD on x86 systems?
8
The ASCII code values for alphabetic letters (e.g. ‘a’) are smaller than for decimal digits (e.g. ‘1’).
True / False
False
How many bits long is a DWORD (doubleword) on x86 systems?
32
Convert the following ASCII hex representation to a character string: 43 61 63 68 65
C - A - C - H - E
Convert the following string into its ASCII hex representation: Wooden
57 6F 6F 64 65 6E
How many binary digits are represented by a series of 3 hexadecimal characters?
12
Convert the following value from signed decimal to 8-bit binary: -33
11011111
Complete the following Unsigned Hexadecimal Addition (answers should also be in Hexadecimal):2C18 + 571B
8333
Complete the following Unsigned Binary Addition (answers should also be in Binary):10110011 + 10110001
101100100
Complete the following unsigned Binary Subtraction:
11010010 - 01011100
01110110
Complete the following unsigned Hexadecimal Subtraction:
5568 - 1ADC
3A8C
Convert the following signed SWORD to a decimal value.
1111 0101 0001 0100
-2,796
Convert the following unsigned WORD to a decimal value.
1010 0101 0110 0100
42,340
What component is responsible for communication among the various internal CPU components?
Internal Bus
During which phase of the instruction execution cycle is the instruction pointer incremented?
fetch
When transferring instructions and data between the Main Memory Unit and the CPU, the memory location where the data is stored must be placed on the ______________.
Address Bus
What unit on a CPU chip is responsible for computing basic addition and subtraction operations?
ALU
The status flags are implemented as individual bits within the Status Register.
True/False
True
Adding 5 to 0FBh in an 8-bit register sets the Zero flag.
True/False
True
Adding 7Fh and 05h in an 8-bit register sets the Overflow flag.
True/False
True
In the IA-32 architecture, which of the following are valid 8-bit register references?
DH
EL
SH
AL
EAX
AX
DH, AL
The Carry flag
Set when the result of a signed arithmetic operation generates a carry out of the most significant bit of the result.
The Overflow flag
Set when the result of a signed arithmetic operation is too large or too small for its destination
The Sign flag
Set when the result of an arithmetic or logical operation generates a negative result
The Zero flag
Set when the result of an arithmetic or logical operation generates a result of 0
The Parity flag
Set if the last signficant byte in the result contains an even number of 1 bits