01Chapter 1: What an instruction set architecture definesAn instruction set architecture (ISA) is the contract between software and a processor. It describes what a program can observe and command. It does not prescribe the processor's internal circuit design. Two processors can implement the same ISA with different pipelines, caches, or control units and2 min read
02Chapter 2: The stored-program model and the instruction cycleAssume you know binary and hexadecimal numbers, basic logic gates, registers, and memory. This chapter explains how a processor retrieves and executes instructions stored in memory.2 min read
03Chapter 3: Instruction formats: zero, one, two and three addressesAssume you know binary and hexadecimal notation, basic logic gates, and the roles of registers and memory. This chapter uses address to mean a field that identifies an operand, usually a register or a memory location.2 min read
04Chapter 4: Expanding opcodes and counting encodable instructionsAssume you know binary notation, instruction fields, and the purpose of registers and memory. This chapter focuses on how one fixed-length instruction word can support several instruction formats.2 min read
05Chapter 5: RISC versus CISC design choicesAssume you know binary numbers, registers, memory, and the basic instruction cycle. An instruction set architecture (ISA) is the programmer-visible specification of a processor. It defines instructions, registers, data types, addressing modes, and memory behavior. RISC and CISC are two different app2 min read
06Chapter 6: Addressing modes and why they existPrerequisites: binary and hexadecimal numbers, registers, memory, and basic instruction formats. An addressing mode is the rule an instruction uses to locate its operand. The same operation, such as LOAD, can use different modes depending on whether the value is inside the instruction, a regis2 min read
07Chapter 7: Computing effective addresses and operandsThis chapter assumes you know binary and hexadecimal numbers, registers, and memory. You should also understand that an instruction contains an opcode and one or more address fields.1 min read
08Chapter 8: Two's complement arithmetic refresherAssume you know binary and hexadecimal notation, bit positions, and basic register operations. A fixed-width register has a fixed number of bits. Two's complement uses those bits to represent both positive and negative integers.1 min read
09Chapter 9: Inside the ALU: operations and structureAssume you know binary numbers, logic gates, multiplexers, registers, and memory. This chapter explains how the arithmetic logic unit (ALU) combines these parts to perform operations inside a processor.1 min read
10Chapter 10: Ripple-carry and carry-lookahead addersThis chapter assumes that you know binary addition, Boolean logic, and the role of a multiplexer and a register. An adder is a combinational circuit that produces a sum from binary inputs without storing the result.2 min read
11Chapter 11: Status flags: zero, negative, carry and overflowAssume you know binary numbers, two’s complement representation, registers, and basic ALU operations. A status flag is a one-bit result record produced by the arithmetic logic unit (ALU). The control unit and later instructions can use these bits for conditional branches.1 min read
12Chapter 12: Hardware multiplication and divisionAssume you know binary arithmetic, two’s complement numbers, registers, memory, and basic logic circuits. This chapter focuses on how a processor performs multiplication and division through repeated additions, subtractions, and shifts.2 min read
13Chapter 13: What the control unit doesThis chapter assumes that you know binary numbers, basic logic gates, registers, and memory. You should also recognize a processor as a datapath, which is the collection of registers, buses, and functional units that move and transform data.2 min read
14Chapter 14: Hardwired control unitsAssume you know binary and hexadecimal numbers, basic logic gates, registers, memory, and register-transfer notation. This chapter explains how a processor creates control signals using fixed digital logic.2 min read
15Chapter 15: Microprogrammed control units and the control storeAssume you know binary numbers, registers, memory, and basic register-transfer notation. This chapter explains how a processor can implement instruction execution with a stored sequence of small control instructions.2 min read
16Chapter 16: Horizontal and vertical microinstructionsA microinstruction is a control word stored in the control store of a microprogrammed control unit. It specifies the control signals needed during one internal processor step. This chapter assumes that you know registers, buses, memory, and basic instruction fetch and execution.2 min read
17Chapter 17: Choosing between hardwired and microprogrammed controlAssume you know binary arithmetic, registers, memory, multiplexers, and the basic fetch-decode-execute cycle. This chapter focuses on how a control unit produces the signals that move data through a datapath.2 min read
18Chapter 18: Worked GATE-style problem patternsAssume you know binary and hexadecimal numbers, basic logic gates, registers, and memory. These problems test whether you can apply definitions carefully rather than memorize isolated formulas.2 min read