2 Marks
2 Marks
UNIT 5
1. What is Instruction Set Architecture (ISA)?
ISA defines the set of instructions that a processor can execute, along with the
data types, registers, addressing modes, memory architecture, and input/output
handling. It acts as the interface between hardware and software.
Instructions that don’t require any operand include NOP (No Operation), which
does nothing but consumes a cycle, and RET (Return), which returns control to the
calling function.
The Link Register (LR) stores the return address for function calls, so that when a
function finishes, control can return to the correct place in the calling function.
RISC (Reduced Instruction Set Computing) uses a small set of simple instructions,
promoting faster execution per instruction, while CISC (Complex Instruction Set
Computing) has a larger set of complex instructions, enabling more complex
operations per instruction.
MOV: Transfers data from one register to another or loads a constant value into a
register.
ADD: Adds the values in two registers and stores the result in a register.
2 marks 1
ARM Data Processing Instructions use a format with fields for opcode, destination
register, operand registers, and an optional immediate value or shift operation for
arithmetic and logical operations.
10. Define Load and Store operations in ARM data transfer instructions.
Post-indexed: The memory access uses the base register, and the offset is
applied afterward.
12. What are the key features of ARM's Thumb instruction set?
The Thumb instruction set uses 16-bit compressed instructions, which improve
code density and memory efficiency, making it suitable for embedded systems
with limited memory.
The barrel shifter performs shift and rotate operations on register values in a
single cycle, which can modify an operand before it is used in arithmetic or logical
operations.
2 marks 2
The LDR instruction is used to load a value from a specific memory location into a
register, making it essential for accessing data stored outside the processor’s
registers.
15. Explain the difference between ARM and Thumb instruction sets.
The ARM instruction set uses 32-bit instructions with full features and addressing
modes, while the Thumb instruction set uses compressed 16-bit instructions,
trading some flexibility for reduced memory usage and improved performance in
memory-constrained environments.
UNIT 3
1. List the types of disk controller.
The main types of disk controllers are Integrated Drive Electronics (IDE), Small
Computer System Interface (SCSI), Serial ATA (SATA), and Fibre Channel.
2. What is an interrupt?
An interrupt is a signal sent to the CPU that temporarily halts the current
processes, allowing the CPU to execute a specific task, usually related to
input/output operations.
3. Calculate maximum memory, for a CPU with 16 address lines and 8 data lines.
2 marks 3
7. Write the applications of a parallel port.
Parallel ports are commonly used for connecting printers, scanners, and older
storage devices to computers.
FireWire is used for high-speed data transfer, commonly for connecting video
cameras, external hard drives, and other digital audio/video devices.
10. How long does it take for a CPU to execute five instructions using a 4-stage
pipelining if each stage takes 20 ns?
The time is 80 ns for the first instruction and an additional 20 ns per instruction, so
total = 80 + 4 x 20 = 160 ns.
11. How long does it take for a CPU to execute five instructions using a 4-stage
pipelining if each stage takes 20 ns in a non-pipelined processor?
The address bus specifies memory locations for data transfer, while the data bus
transfers actual data between the CPU and memory or devices.
Types include IDE, SCSI, SATA, and Fibre Channel (same as Q1).
HDMI is used for transmitting high-definition video and audio between devices like
TVs, computers, and projectors.
RISC has a simpler set of instructions, enabling faster processing per instruction,
while CISC has a more complex set, allowing for more functions per instruction.
2 marks 4