Computer engineering · also Electrical engineeringLevel 4 · Systems Engineer
Instruction set architecture
An instruction set architecture is the contract between software and a processor. It lists the registers a program can use, the instructions the processor understands, how each instruction is encoded as a pattern of bits, and how instructions name their data, the addressing modes. An instruction word is split into fields such as an opcode that selects the operation and register or constant fields that select the operands. Compilers and assemblers target the ISA, so many different chips can run the same program. Choosing what goes into an ISA is a trade-off between simple hardware, short programs and fast execution.
Why it mattersThe same app runs on phones from different makers because their processors implement the same instruction set.