Introduction of Computer System Design
Computer Architecture
Chester Rebeiro, IIT Madras
slides inspired / borrowed from https://www.nand2tetris.org/
Hardware Components we have built so far
ROM
A
D
Data
Memory
Program�Memory
Address Register
Data Register
Assembly Language Programs
Integrate hardware modules to
execute the program
Computer Architecture
Fetch-Execute Loop
fetch
execute
Building the HackCPU: Components
The HackCPU processor
Executing HackCPU Instructions
Executing A-instruction on the HackCPU
HackCPU C-type Instructions
Executing C-Type Instructions
C-Type Instruction - opcode bit
C-Type Instruction - opcode bit
Executing C-Type Instructions - comp bits
Executing C-Type Instructions - comp bits
Executing C-Type Instructions - control bits
Executing C-Type Instructions - control bits