Chapter 5
8-bit data bus and a 16-bit address bus, letting it address up to 64 KB of memory.B-C, D-E, H-L), the Program Counter (PC), the Stack Pointer (SP), a Flag register (Sign, Zero, Auxiliary Carry, Parity, Carry), an instruction register/decoder, and timing & control circuitry.TRAP, RST 7.5, RST 6.5, RST 5.5, INTR โ and operates at clock speeds up to a few MHz.CMA).16-bit data bus and a 20-bit address bus, able to address 1 MB of memory using segmented memory (Code, Data, Stack, and Extra Segment registers: CS, DS, SS, ES).64 KB, are non-relocatable, and always load at offset 0100H..ASM, in mnemonics) into an object file (.OBJ) containing machine code and unresolved references..EXE/.COM).Registers) down through Cache, Main Memory (RAM), to the slowest/largest/cheapest at the bottom (Secondary storage).MOV), which reduces available memory address space; **I/O-Mapped (Isolated) I/O** uses a separate dedicated address space and special I/O instructions (e.g. IN, OUT), preserving the full memory address space.8255, provides three programmable 8-bit I/O ports (Port A, Port B, Port C), configurable as Mode 0 (simple I/O, no handshaking), Mode 1 (handshake-based I/O with strobe/ready signals), or Mode 2 (bidirectional bus, Port A only).RS-232 and USB.8257) manages the transfer: it requests control of the system bus from the CPU using HOLD/HLDA handshaking signals, then directly drives the address/data bus during the transfer.TRAP, RST 7.5, RST 6.5, RST 5.5, INTR โ with priority order TRAP highest, INTR lowest; TRAP cannot be masked, the others can be selectively masked; software interrupts are triggered via RST 0โ7 instructions.256 entries (4 bytes each), located at memory addresses 0000:0000 onward; software interrupts via the INT instruction (e.g. INT n).SISD (Single Instruction, Single Data โ traditional uniprocessor), SIMD (Single Instruction, Multiple Data โ vector/array processors, GPUs), MISD (Multiple Instruction, Single Data โ rare, fault-tolerant systems), MIMD (Multiple Instruction, Multiple Data โ multiprocessor/multicomputer systems).sequential (next in line), branch (conditional jump), or subroutine call within the microprogram.MOV/LOAD/STORE), arithmetic (ADD, SUB, MUL, DIV), logical (AND, OR, XOR, NOT), and shift/rotate operations.AND, OR, XOR, NOT, and shift/rotate operations manipulate data at the bit level.Registers โ Cache โ Main Memory) to slowest/cheapest/largest (Secondary storage), balancing speed, cost, and capacity.LRU (Least Recently Used), FIFO (First In First Out), LFU (Least Frequently Used), Random โ decides which block to evict when the cache is full.L1, L2, L3); Unified cache (instructions + data together) vs Split cache (separate instruction and data caches).locks, semaphores, and barriers โ coordinate concurrent access to shared resources and keep cooperating processors properly ordered, preventing race conditions