Define instruction set
Collection of instructions that a CPU can execute. It defines the MLI (machine language instruction) that a processor can understand and process…
(Fetch, decode, execute, store and load)
List the Main categories of instructions in a typical instruction set (DALCI)
Data transfer instruction: Move data between register, memory and I/O devices
Arithmetic Instruction: Performs mathematical operations (e.g. ADD, SUB)
Logical Instruction: Perform bitwise operations (e.g. AND, OR, NOT, XOR)
Control Instruction: Direct Program Flow (e.g JMP, CALL)
I/O instruction: Handle input and output operations (e.g. IN and OUT)
What is the characteristics of RISC
What is the characteristics of CISC
RISC VS CISC
Describe typical format of a machine instruction
Opcode: Specifies the operation to be performed
Operand: Specifies the data to be operated on
Addressing Mode: Specifies how the operand is accessed
Explain the role of opcodes in instruction set
Opcode specifies the operation to be performed. It tells the CPU what action to take such as (Addition, subtraction or data transfer).
What are Addressing modes in instruction Set (IDIRI)
Immediate: Operand is specified in the instruction itself
Direct: Address of the operand is specified in the instruction
Indirect: Address of the operand is found in a register or memory
Register: Operand is in a register
Indexed: Address is calculated using a base adddress
(OAAOA)
Differentiate between ‘immediate’ & ‘direct’ addressing
Describe challenges in implement instuction set architecture (ISA) in computer (HPPMB)
Hardware complexity: Designing processor hardware to support all features of ISA are challenging
Performance optimization: Balancing simplicity of ISA vs need of performance is difficult
Power efficiency: Modern processors must achieve high performance, consume low power
Memory and data handling: Managing memory access efficiently vs supporting different addressing modes challenge
Backward compatibility: Maintaining older versions of ISA while introducing new feature is difficult
Another challenge in ISA, the bottlenecks issue. What are the examples of hardware bottleneck issues
Cache performance
Interconnect Latency
Thermal and power Constraints
What are specific implementation techniques could be used to optimize performance in RISC ? (PSBV)