CIS 310 - Final Exam Study Guide
The value of the following signed hex number C123 is _______ in decimal.
-16093
If the AX register contains the value 1112H the value of the carry flag after executing the following instruction is ---------- SHR AX, 1
0
What is the minimum number of binary bits needed to represent the following unsigned decimal integer: 4095
12
For the x86 Architecture the word is
16 bits
Before executing the following code, the value in eax was 1 What will be the value in eax after executing the following code: mov ebx, eax shl eax, 4 shl ebx, 3 add eax, ebx
24
Suppose a computer using direct mapped cache has 2^20 bytes of byte-addressable main memory, and a cache of 32 blocks, where each cache block contains 16 bytes. How many blocks of main memory are there?
2^20/2^4 = 2^16
in the x86 architecture, the EAX register is a ---------- register.
32 bit
The hexadecimal representation of the binary number 0011 0101 1101 1010 is
35DA
arr1 BYTE 70, 80, 90, 100, 30 DUP (?) arrSize = ($ - arr1) arrSize will have the value of
4
The 16 bit hexadecimal representation of decimal -24 is
FFE8
A link library consists of assembly language source code.
False
B4h is a valid MASM hexadecimal literal.
False
In MASM, the multiplication operator * has a higher precedence than the division operator / .
False
In the following code fragment jg will jump to the label Target mov ax, 9105h cmp ax, 26h jg Target
False
JMP is a conditional transfer instruction.
False
Static RAM is usually less expensive than Dynamic RAM.
False
The Loope instruction jumps to a label when (and only when) the zero flag is clear.
False
The acronym PCI stands for programmable component interface.
False
This expression is not a representation of the above logic circuit: F(x,y,z)= xyz + (y' + z)
False
Which instruction shifts each bit in an operand to the left and copies the highest bit into both the Carry flag and the lowest bit position?
ROL
A simplified logical expression represented by the above Kmap is: x'z + xz'
True
Complex Instruction Set Computers (CISC) are characterized by: - A large number of instructions - typically from 100 to 250 instructions. - The instruction set includes specialized instructions that are used infrequently - A large variety of addressing modes - typically from 5 to 20 different modes - Variable length instruction formats - Instructions that manipulate operands in memory
True
IDE bus stands for Integrated Drive Electronics.
True
If F(x,y,z) = xy'(x + z). then F'(x,y,z) = (x'+y)+(x'z') Hint: use DeMorgan's law or truth tables
True
In 32-bit mode the LOOPNZ instruction jumps to a label when ECX is greater than zero and the Zero flag is clear.
True
The call instruction cannot include procedure arguments.
True
The characteristic table of a JK flip flop is represented above. If J(t) = 1, K(t) = 1 and Q(t) = 1, then the value of Q(t+1) is 0.
True
The following is a big-endian representation of the number 74892156h in memory Memory Address: Memory Content: 0000 74 0001 89 0002 21 0003 56
True
The loop instruction first decrements ECX then if it is not equal to zero, then LOOP jumps to the destination label.
True
The truth table for a Boolean expression is shown above. Its canonical sum of products form is:F(x,y,z) = x'y'z' + x'yz' + xy'z + xyz' + xyz
True