CPU Design · All levels
ISA & Programmer Model
Instruction semantics, encoding strategy, ABI contracts, and privilege behavior that define the software-visible CPU contract.
Section goal
Instruction semantics, encoding strategy, ABI contracts, and privilege behavior that define the software-visible CPU contract.
How to study this section
Start with each topic hub to establish mechanism-first framing.
Use reports and debug pages to separate symptoms from root cause.
Practice worked examples and interview drills under fixed metadata.
Close with checklist and silicon impact before signoff claims.
Topics
isa-encoding-and-formats/ - ISA Encoding and Formats
risc-vs-cisc-tradeoffs/ - RISC vs CISC Tradeoffs
abi-and-calling-conventions/ - ABI and Calling Conventions
privilege-and-exception-model/ - Privilege and Exception Model
Related topics
CPU deep dive
ISA choices are software contracts that directly become decode, verification, and security cost in silicon.
Concept diagram
ISA CONTRACT STACK
instruction semantics -> encoding -> decode/uOP expansion -> architectural stateMetric graph
ISA HEALTH TREND
illegal encoding escapes █
decode expansion pressure ████
ABI mismatch incidents ██Reports and artifacts
instruction legality audit
decode critical-path report
ABI conformance summary
trap/CSR latency sheet
Mini case study
A late ISA extension looked harmless but increased decode expansion ratio and pushed front-end timing beyond closure margin.
Debug branches
Map each ISA feature to decode and retire implications
Separate architectural correctness from microarchitectural cost
Validate privileged behavior with precise-state traces
Senior review question
Ask: which CPI/latency evidence proves this topic is truly closed beyond synthetic benchmarks?