A stack is a LIFO structure where the last item pushed is the first one to be popped.
Incorrect! Try again.
2The two basic operations performed on a stack are:
Stack Organization
Easy
A.ADD and SUB
B.READ and WRITE
C.LOAD and STORE
D.PUSH and POP
Correct Answer: PUSH and POP
Explanation:
PUSH inserts an item onto the stack and POP removes the top item from the stack.
Incorrect! Try again.
3The register that holds the address of the top element of a stack is called the:
Stack Organization
Easy
A.Memory Address Register (MAR)
B.Program Counter (PC)
C.Stack Pointer (SP)
D.Instruction Register (IR)
Correct Answer: Stack Pointer (SP)
Explanation:
The Stack Pointer (SP) always points to the address of the top element of the stack.
Incorrect! Try again.
4Which arithmetic expression notation is naturally suited for stack-based evaluation?
Stack Organization
Easy
A.Reverse Polish Notation (postfix)
B.Infix Notation
C.Prefix Notation
D.Decimal Notation
Correct Answer: Reverse Polish Notation (postfix)
Explanation:
Reverse Polish (postfix) notation can be evaluated directly using a stack without needing parentheses.
Incorrect! Try again.
5In a general register organization, the connections between registers and the ALU are commonly established using:
General Register Organization
Easy
A.Direct memory mapping
B.An interrupt line
C.A single dedicated wire
D.A common bus system
Correct Answer: A common bus system
Explanation:
A common bus system is used to transfer data among registers and the ALU efficiently.
Incorrect! Try again.
6What is the main advantage of using a large number of CPU registers?
General Register Organization
Easy
A.Reduced number of memory accesses
B.Increased memory size
C.Larger word length
D.Slower instruction execution
Correct Answer: Reduced number of memory accesses
Explanation:
Registers store operands close to the ALU, reducing frequent and slower memory accesses.
Incorrect! Try again.
7In immediate addressing mode, the operand is:
Addressing Modes
Easy
A.Located in a memory address
B.Stored in a general register
C.Specified within the instruction itself
D.Pointed to by the stack pointer
Correct Answer: Specified within the instruction itself
Explanation:
In immediate addressing mode, the actual operand value is part of the instruction.
Incorrect! Try again.
8In register addressing mode, the operand is present in:
Addressing Modes
Easy
A.A CPU register
B.The instruction field
C.The stack
D.The main memory
Correct Answer: A CPU register
Explanation:
In register addressing mode, the operand resides in one of the CPU registers named in the instruction.
Incorrect! Try again.
9Which addressing mode uses the address field of the instruction to point to a memory location that contains the address of the operand?
Addressing Modes
Easy
A.Direct addressing mode
B.Implied addressing mode
C.Indirect addressing mode
D.Immediate addressing mode
Correct Answer: Indirect addressing mode
Explanation:
In indirect addressing, the instruction's address field gives the location that stores the operand's effective address.
Incorrect! Try again.
10The addressing mode in which the operand is implicitly defined by the instruction is called:
Addressing Modes
Easy
A.Indexed addressing mode
B.Direct addressing mode
C.Implied addressing mode
D.Relative addressing mode
Correct Answer: Implied addressing mode
Explanation:
In implied mode, the operand is specified implicitly, such as in the instruction which clears the accumulator.
Incorrect! Try again.
11RISC stands for:
Reduced instruction set computer
Easy
A.Rapid Instruction Set Computer
B.Reduced Instruction Set Computer
C.Reduced Internal System Computer
D.Random Instruction Sequence Computer
Correct Answer: Reduced Instruction Set Computer
Explanation:
RISC stands for Reduced Instruction Set Computer, characterized by a small set of simple instructions.
Incorrect! Try again.
12Which of the following is a characteristic of a RISC processor?
Reduced instruction set computer
Easy
A.Large number of complex instructions
B.Instructions of variable length
C.Fixed-length instructions
D.Many different addressing modes
Correct Answer: Fixed-length instructions
Explanation:
RISC processors use fixed-length instructions to simplify decoding and enable pipelining.
Incorrect! Try again.
13CISC stands for:
Complex instruction set computer
Easy
A.Complex Instruction Set Computer
B.Compact Instruction Sequence Computer
C.Complete Internal System Computer
D.Combined Instruction Set Computer
Correct Answer: Complex Instruction Set Computer
Explanation:
CISC stands for Complex Instruction Set Computer, having a large and varied set of instructions.
Incorrect! Try again.
14Which feature is typically associated with CISC architecture?
Complex instruction set computer
Easy
A.A single addressing mode
B.Only register-to-register operations
C.Variable-length instructions
D.Fixed-length simple instructions
Correct Answer: Variable-length instructions
Explanation:
CISC architectures support variable-length instructions and many addressing modes for flexibility.
Incorrect! Try again.
15The portion of an instruction that specifies the operation to be performed is called the:
Instruction formats
Easy
A.Mode field
B.Opcode
C.Operand
D.Address field
Correct Answer: Opcode
Explanation:
The opcode (operation code) field specifies which operation the instruction performs.
Incorrect! Try again.
16An instruction format that uses no address field for operands and relies on a stack is called a:
Instruction formats
Easy
A.Zero-address instruction
B.One-address instruction
C.Two-address instruction
D.Three-address instruction
Correct Answer: Zero-address instruction
Explanation:
Zero-address instructions use an implied stack for operands, so no explicit address field is needed.
Incorrect! Try again.
17Which data transfer scheme allows I/O devices to transfer data to memory without continuous CPU involvement?
Data Transfer Schemes
Easy
A.Direct Memory Access (DMA)
B.Programmed I/O
C.Immediate transfer
D.Register transfer
Correct Answer: Direct Memory Access (DMA)
Explanation:
DMA lets an I/O device transfer data directly to or from memory, freeing the CPU during the transfer.
Incorrect! Try again.
18The register that holds the address of the next instruction to be executed is the:
Program Control and Interrupts
Easy
A.Stack Pointer (SP)
B.Program Counter (PC)
C.Accumulator (AC)
D.Instruction Register (IR)
Correct Answer: Program Counter (PC)
Explanation:
The Program Counter (PC) holds the address of the next instruction to be fetched and executed.
Incorrect! Try again.
19An interrupt is best described as a:
Program Control and Interrupts
Easy
A.Memory addressing mode
B.Signal that temporarily halts normal program execution
C.Permanent stop of the processor
D.Type of arithmetic instruction
Correct Answer: Signal that temporarily halts normal program execution
Explanation:
An interrupt is a signal that causes the CPU to suspend its current task and service the interrupting event.
Incorrect! Try again.
20The Processor Status Word (PSW) primarily stores:
Processor status word
Easy
A.The next instruction address
B.The current operand value
C.Status flags and control bits
D.The stack top address
Correct Answer: Status flags and control bits
Explanation:
The PSW holds status flags (such as carry, zero, sign, and overflow) and control bits reflecting the processor state.
Incorrect! Try again.
21In a general register organization, a microoperation such as is executed. Which control fields are minimally required to specify this operation in a single control word?
General Register Organization
Medium
A.Two source select fields, one destination select field, and one ALU operation field
B.Three destination select fields only
C.One source select field and one ALU operation field
D.Two ALU operation fields and one source field
Correct Answer: Two source select fields, one destination select field, and one ALU operation field
Explanation:
The operation reads two source registers (R2, R3), performs an ALU addition, and writes to a destination register (R1). Thus two source selectors (SELA, SELB), one destination selector (SELD), and one operation code (OPR) are needed.
Incorrect! Try again.
22A CPU has 8 general-purpose registers. How many bits are required for each of the SELA, SELB, and SELD fields in the control word?
General Register Organization
Medium
A.4 bits each
B.3 bits each
C.2 bits each
D.8 bits each
Correct Answer: 3 bits each
Explanation:
To select 1 of 8 registers, bits are needed for each selection field.
Incorrect! Try again.
23In a memory stack where SP points to the top item and the stack grows toward lower addresses, which sequence correctly represents a PUSH operation?
Stack Organization
Medium
A.; then
B.; then
C.; then
D.; then
Correct Answer: ; then
Explanation:
When a stack grows toward lower addresses, PUSH first decrements SP, then stores the data at the new top-of-stack location.
Incorrect! Try again.
24The arithmetic expression is written in Reverse Polish Notation (postfix). Which is correct?
Stack Organization
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
In postfix, operands precede operators. becomes , becomes , and their product becomes .
Incorrect! Try again.
25An instruction uses register indirect addressing. If register R contains 4000 and memory location 4000 contains 6000, what is the effective address of the operand?
Addressing Modes
Medium
A.4000
B.10000
C.R itself
D.6000
Correct Answer: 4000
Explanation:
In register indirect mode, the register holds the effective address of the operand. R = 4000, so the effective address is 4000 (the operand is the value stored there, 6000).
Incorrect! Try again.
26A relative addressing mode instruction has an address field of 500. If the program counter (PC) holds 700 at the time of execution, what is the effective address?
Addressing Modes
Medium
A.200
B.500
C.1200
D.700
Correct Answer: 1200
Explanation:
In relative addressing, the effective address is the sum of the address field and the PC content: .
Incorrect! Try again.
27Which addressing mode is most suitable for accessing successive elements of an array by incrementing a register between accesses?
Addressing Modes
Medium
A.Direct addressing
B.Autoincrement (register indirect with increment)
C.Implied mode
D.Immediate mode
Correct Answer: Autoincrement (register indirect with increment)
Explanation:
Autoincrement mode accesses the operand pointed to by a register and then increments the register, making it ideal for stepping through consecutive array elements.
Incorrect! Try again.
28In indexed addressing mode, the effective address is computed as which of the following?
Addressing Modes
Medium
A.Address field + content of index register
B.Address field + program counter
C.Address field only
D.Content of index register only
Correct Answer: Address field + content of index register
Explanation:
Indexed addressing adds the value in the index register to the address field of the instruction to form the effective address, useful for array traversal.
Incorrect! Try again.
29In a typical RISC architecture, which characteristic is a direct consequence of using a load/store design?
Reduced instruction set computer
Medium
A.Only load and store instructions access memory; ALU operations use registers
B.All ALU operations can access memory directly
C.Complex instructions are microprogrammed
D.Instructions have variable lengths for flexibility
Correct Answer: Only load and store instructions access memory; ALU operations use registers
Explanation:
RISC uses a load/store model where memory is accessed only via dedicated load and store instructions, while arithmetic and logic operations operate exclusively on registers.
Incorrect! Try again.
30Overlapped register windows in RISC processors are used primarily to achieve which benefit?
Reduced instruction set computer
Medium
A.Fast parameter passing during procedure calls
B.Direct memory addressing for all operands
C.Larger instruction opcodes
D.Variable-length instruction encoding
Correct Answer: Fast parameter passing during procedure calls
Explanation:
Overlapping register windows let the output registers of a calling procedure serve as the input registers of the called procedure, enabling fast parameter passing without memory access.
Incorrect! Try again.
31Which of the following is a defining feature of a CISC architecture compared to RISC?
Complex instruction set computer
Medium
A.Fixed-length instructions and a load/store model
B.Variable-length instructions and many addressing modes
C.Single-cycle execution for all instructions
D.Very large uniform register set with windows
Correct Answer: Variable-length instructions and many addressing modes
Explanation:
CISC designs employ variable-length instructions, numerous addressing modes, and complex multi-cycle instructions, often implemented through microprogramming.
Incorrect! Try again.
32Why do CISC processors typically rely on microprogrammed control units?
Complex instruction set computer
Medium
A.Microprogramming eliminates the need for registers
B.It reduces the total number of instructions to one
C.Microcode makes all instructions execute in one cycle
D.Complex, variable instructions are easier to implement with microcode
Correct Answer: Complex, variable instructions are easier to implement with microcode
Explanation:
The wide variety of complex, multi-step CISC instructions is more practical to implement via microprogrammed control than hardwired logic, which suits simpler RISC instruction sets.
Incorrect! Try again.
33A computer has a 32-bit instruction with a 6-bit opcode. If the remaining bits form a single memory address field, what is the maximum directly addressable memory?
Instruction formats
Medium
A. locations
B. locations
C. locations
D. locations
Correct Answer: locations
Explanation:
With 32 total bits and 6 bits for the opcode, bits remain for the address, giving addressable locations.
Incorrect! Try again.
34Evaluating on a zero-address (stack) machine requires which instructions in order?
Instruction formats
Medium
A.LOAD A, ADD B, MUL C, STORE X
B.ADD A B, MUL C, STORE X
C.PUSH A, PUSH B, ADD, PUSH C, MUL, POP X
D.MOV A, ADD B, MUL C
Correct Answer: PUSH A, PUSH B, ADD, PUSH C, MUL, POP X
Explanation:
A zero-address machine uses the stack: push A and B, add them, push C, multiply, then pop the result to X.
Incorrect! Try again.
35In a three-address instruction format, the statement is typically expressed as which single instruction?
Instruction formats
Medium
A.; ;
B.; ;
C. followed by
D.
Correct Answer:
Explanation:
A three-address instruction specifies two source operands and a destination in one instruction: means .
Incorrect! Try again.
36In which data transfer scheme does the CPU repeatedly check a status flag to determine if a device is ready, wasting CPU cycles while waiting?
Data Transfer Schemes
Medium
A.Programmed I/O
B.Interrupt-driven I/O
C.Memory-mapped I/O
D.Direct memory access (DMA)
Correct Answer: Programmed I/O
Explanation:
In programmed I/O, the CPU continuously polls the device status flag and remains busy waiting until the device is ready, which wastes processor time.
Incorrect! Try again.
37During DMA transfer, how does the DMA controller obtain access to the system bus from the CPU?
Data Transfer Schemes
Medium
A.By using a dedicated arithmetic instruction
B.By polling the CPU status register
C.By issuing a software interrupt instruction
D.Through bus request and bus grant handshaking signals
Correct Answer: Through bus request and bus grant handshaking signals
Explanation:
The DMA controller asserts a bus request (HOLD); the CPU relinquishes the bus and responds with a bus grant (HLDA), allowing DMA to transfer data directly to/from memory.
Incorrect! Try again.
38When an interrupt is acknowledged, what must the CPU save before transferring control to the interrupt service routine?
Program Control and Interrupts
Medium
A.Just the interrupt vector number
B.The entire main memory contents
C.Only the accumulator content
D.The return address and processor status
Correct Answer: The return address and processor status
Explanation:
To resume the interrupted program correctly, the CPU saves the return address (next PC) and the processor status word before servicing the interrupt.
Incorrect! Try again.
39In a vectored interrupt system, how is the address of the interrupt service routine determined?
Program Control and Interrupts
Medium
A.The interrupting device supplies a vector identifying the ISR address
B.The ISR is always located at a fixed single address
C.The programmer manually enters the address at runtime
D.The CPU polls all devices sequentially to find the ISR
Correct Answer: The interrupting device supplies a vector identifying the ISR address
Explanation:
In a vectored interrupt, the interrupting device provides a vector (identifier) that the CPU uses to directly locate the corresponding service routine address, avoiding polling.
Incorrect! Try again.
40After the subtraction is performed in the ALU, which status flag in the processor status word is set?
Processor status word
Medium
A.Zero (Z) flag
B.Sign (S) flag
C.Overflow (V) flag
D.Carry (C) flag
Correct Answer: Zero (Z) flag
Explanation:
The result of , so the Zero flag is set to 1 to indicate the ALU output is zero; the sign flag stays 0 for a non-negative result.
Incorrect! Try again.
41A stack-organized CPU evaluates the postfix expression A B C * + D - using only PUSH and arithmetic operations that pop two operands. If the stack is initially empty, what is the maximum number of elements present on the stack at any point during evaluation?
Stack Organization
Hard
A.2
B.3
C.4
D.5
Correct Answer: 3
Explanation:
Trace: PUSH A (1), PUSH B (2), PUSH C (3) — peak here. * pops B,C pushes result (2). + pops A,result pushes (1). PUSH D (2). - pops (1). Maximum depth reached is .
Incorrect! Try again.
42An instruction uses indexed addressing with EA = base + (index register R1). R1 holds , base field is , and memory word at contains , while contains . What value is loaded into the accumulator?
Addressing Modes
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Indexed addressing computes , then loads the operand stored at that effective address, which is . It does not perform a second indirection.
Incorrect! Try again.
43A processor has a 32-bit instruction, 64 opcodes, and three register operand fields addressing 32 registers each. How many bits remain for an immediate/displacement field?
Instruction formats
Hard
A.11 bits
B.7 bits
C.9 bits
D.13 bits
Correct Answer: 11 bits
Explanation:
Opcode needs bits; each register field needs bits, so three fields use bits. Remaining bits.
Incorrect! Try again.
44In a classic RISC pipeline, a load instruction is immediately followed by an instruction that uses the loaded register. Without forwarding, how many stall (bubble) cycles are typically required assuming a 5-stage pipeline where data is available only after the MEM stage?
Reduced instruction set computer
Hard
A.2
B.1
C.3
D.0
Correct Answer: 1
Explanation:
The load-use hazard requires the dependent instruction to wait until the loaded value is available. In a 5-stage pipeline (IF, ID, EX, MEM, WB) with the standard load-delay slot, exactly stall cycle is needed even without forwarding when write/read overlap in WB/ID.
Incorrect! Try again.
45Which characteristic most fundamentally distinguishes a CISC memory-to-memory ADD MEM1, MEM2, MEM3 instruction from a RISC equivalent?
Complex instruction set computer
Hard
A.A single CISC instruction performs multiple memory accesses and the ALU operation, requiring variable multi-cycle execution
B.RISC can also directly add three memory operands in one instruction
C.CISC uses fixed-length encoding for all such instructions
D.CISC always executes such instructions in exactly one clock cycle
Correct Answer: A single CISC instruction performs multiple memory accesses and the ALU operation, requiring variable multi-cycle execution
Explanation:
CISC memory-to-memory operations combine several memory reads/writes and computation into one instruction, taking a variable number of cycles. RISC uses load/store: memory operands must first be loaded into registers.
Incorrect! Try again.
46A polled interrupt system checks 8 devices in priority order every polling cycle. If the highest-priority device raises frequent requests, which problem is most likely to occur for the lowest-priority device?
Program Control and Interrupts
Hard
A.Immediate service due to round-robin fairness
B.Deadlock between the two devices
C.Loss of the interrupt vector table
D.Starvation, as lower-priority devices may rarely be serviced
Correct Answer: Starvation, as lower-priority devices may rarely be serviced
Explanation:
Fixed-priority polling always services the highest-priority requester first. Under heavy high-priority load, low-priority devices can be indefinitely delayed — a classic starvation scenario.
Incorrect! Try again.
47After computing in an 8-bit signed ALU, which combination of PSW flags is correctly set?
. Result is nonzero (Zero=0), MSB=1 (Sign=1), no carry out of bit 7 (Carry=0), but two positives yielding a negative sets signed Overflow=1.
Incorrect! Try again.
48In cycle-stealing DMA, a device transfers 2000 words while the CPU runs a program. Each DMA word transfer steals one bus cycle from the CPU. What is the primary effect on the CPU compared to burst-mode DMA?
Data Transfer Schemes
Hard
A.CPU continues executing but is slowed, as the bus is released after each single word transfer
B.CPU speed increases due to reduced memory contention
C.CPU loses its program counter contents
D.CPU is completely halted until all 2000 words are transferred
Correct Answer: CPU continues executing but is slowed, as the bus is released after each single word transfer
Explanation:
Cycle stealing transfers one word per bus acquisition, returning control to the CPU between words. The CPU keeps running but experiences slowdown, unlike burst mode which holds the bus for the whole block.
Incorrect! Try again.
49A CPU has a register file with two read ports and one write port feeding an ALU whose output returns to the file. To execute R3 <- R1 + R2 in one clock, what is the minimum requirement on the bus/port structure?
General Register Organization
Hard
A.Three write ports and one read port
B.Two source buses to the ALU and one destination bus back, all active in the same cycle
C.A single shared bus used sequentially three times
D.Only one read port since operands can share it
Correct Answer: Two source buses to the ALU and one destination bus back, all active in the same cycle
Explanation:
Single-cycle register-to-register operation needs both operands read simultaneously (two read ports/source buses) and the result written back (one write port/destination bus) within one clock.
Incorrect! Try again.
50A branch instruction at address uses PC-relative addressing with a signed displacement of . The instruction is 4 bytes long and PC is incremented before displacement is added. What is the branch target address?
Addressing Modes
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
PC is incremented to first, then displacement added: .
Incorrect! Try again.
51A memory stack grows toward lower addresses with SP pointing to the last item pushed. After executing PUSH then POP once each on an initially empty stack (SP = ), what is the final value of SP, assuming word size of 1?
Stack Organization
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
PUSH decrements SP to and stores; POP reads then increments SP back to . A matched push/pop pair restores SP to its original value.
Incorrect! Try again.
52A machine supports zero-, one-, and two-address instructions using expanding opcodes in a 16-bit format with 4-bit register fields. If there are 14 two-address instructions and 31 one-address instructions, how many zero-address instructions can be encoded?
Instruction formats
Hard
A.32
B.15
C.31
D.16
Correct Answer: 16
Explanation:
16 opcode combinations exist for the leading 4 bits; 14 used for two-address leaves 2, giving one-address slots. Using 31 leaves 1, giving zero-address instructions.
Incorrect! Try again.
53During a vectored interrupt, the interrupting device supplies information that the CPU uses to determine the service routine address. What is this supplied information most precisely called?
Program Control and Interrupts
Hard
A.The full ISR machine code
B.The saved program counter value
C.An interrupt vector or pointer to the ISR address
D.The device's data register contents
Correct Answer: An interrupt vector or pointer to the ISR address
Explanation:
In vectored interrupts the device provides a vector (an index or address) that the CPU uses to locate the ISR entry in the interrupt vector table. It does not send the routine code itself.
Incorrect! Try again.
54RISC architectures use large register windows with overlapping registers primarily to optimize which operation?
Reduced instruction set computer
Hard
A.Passing parameters during procedure calls without memory access
B.Instruction decoding of variable-length opcodes
C.Floating-point division
D.Interrupt vector lookup
Correct Answer: Passing parameters during procedure calls without memory access
Explanation:
Overlapping register windows let the outgoing registers of a caller become the incoming registers of the callee, enabling fast parameter passing across procedure calls while avoiding stack/memory traffic.
Incorrect! Try again.
55Compare programmed I/O and interrupt-driven I/O for a slow device. Which statement is most accurate regarding CPU utilization?
Data Transfer Schemes
Hard
A.Both keep the CPU equally idle during transfers
B.Interrupt-driven I/O frees the CPU during waiting, while programmed I/O wastes cycles busy-waiting on status
C.Interrupt-driven I/O requires the CPU to continuously poll the status register
D.Programmed I/O always achieves higher throughput than interrupt-driven I/O
Correct Answer: Interrupt-driven I/O frees the CPU during waiting, while programmed I/O wastes cycles busy-waiting on status
Explanation:
Programmed I/O forces the CPU to poll the status flag in a loop, wasting cycles. Interrupt-driven I/O lets the CPU do other work and responds only when the device signals readiness.
Incorrect! Try again.
56A conditional branch BGT (branch if greater than, signed) tests PSW flags. Which flag condition correctly implements signed greater-than after a CMP A, B (A - B)?
Processor status word
Hard
A.Zero=0 AND (Sign = Overflow)
B.Zero=1 AND Sign=0
C.Carry=0 only
D.Sign=1 AND Overflow=0
Correct Answer: Zero=0 AND (Sign = Overflow)
Explanation:
Signed requires the result nonzero (Zero=0) and Sign flag equal to Overflow flag (), which correctly handles overflow cases in signed comparison.
Incorrect! Try again.
57A microoperation control word for a general register CPU has fields SELA (3 bits), SELB (3 bits), SELD (3 bits), and OPR (5 bits). How many distinct source-register combinations and ALU operations can this word specify (SELA × SELB × OPR)?
General Register Organization
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
3-bit fields select registers each, and the 5-bit OPR selects operations. Thus combinations.
Incorrect! Try again.
58Which addressing mode is most suitable for implementing position-independent code, where the same program can run correctly regardless of where it is loaded in memory?
Addressing Modes
Hard
A.Immediate addressing
B.Absolute (direct) addressing
C.Register direct addressing
D.PC-relative addressing
Correct Answer: PC-relative addressing
Explanation:
PC-relative addressing computes targets as offsets from the current PC, so the code works correctly no matter where it is loaded. Absolute addressing hardcodes locations, breaking position independence.
Incorrect! Try again.
59A CISC processor implements instructions via microprogrammed control. What is the primary trade-off compared to RISC hardwired control?
Complex instruction set computer
Hard
A.Microprogramming always executes faster than hardwired control
B.Microprogramming eliminates the need for an instruction decoder
C.Microprogramming eases complex instruction implementation but adds control-store access latency
D.Hardwired control cannot implement any conditional branch
Microprogrammed control simplifies designing complex, variable instructions by storing microcode, but fetching microinstructions from the control store adds latency versus fast hardwired logic used in RISC.
Incorrect! Try again.
60When a maskable interrupt occurs while the interrupt-enable flag is cleared (masked), what is the correct CPU behavior?
Program Control and Interrupts
Hard
A.The CPU is forced to service it immediately regardless of the mask
B.The CPU resets and clears the program counter
C.The interrupt is converted into a non-maskable interrupt
D.The request is ignored or held pending until the enable flag is set
Correct Answer: The request is ignored or held pending until the enable flag is set
Explanation:
A masked (disabled) maskable interrupt is not serviced immediately; it is either ignored or latched as pending until software re-enables interrupts. Only non-maskable interrupts bypass the mask.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →