IntermediateTopic 57 of 104Electronics & Embedded

Instruction set architectures

The programmer-visible instructions; examples include ARM, RISC-V and x86.

In depth

The ISA defines instructions, registers, addressing modes and memory model. RISC (ARM, RISC-V) uses simple fixed-length instructions; CISC (x86) has complex ones. Compilers target the ISA; binary compatibility depends on it.

Key points

  • Load/store architecture
  • Instruction encoding
  • Extensions like SIMD
Example

ARM Thumb-2 mixes 16 and 32-bit instructions for code density.

Why it matters

An instruction set architecture is the contract between hardware and software, so choosing one affects tools, performance and licensing.

Where this is used

  • Choosing ARM for a phone SoC because of its ecosystem.
  • Selecting RISC-V for a custom microcontroller to avoid licence fees.
  • Porting firmware from one architecture to another.

Frequently asked questions

What is Instruction set architectures?

The programmer-visible instructions; examples include ARM, RISC-V and x86.

Why is it important to understand instruction set architectures?

An instruction set architecture is the contract between hardware and software, so choosing one affects tools, performance and licensing.

What is the difference between RISC and CISC?

RISC uses simple, uniform instructions that are easy to pipeline. CISC uses complex instructions that can do more work per instruction but are harder to implement efficiently.

Does the ISA decide performance?

Not alone. The microarchitecture, clock speed, caches and compiler all influence performance, while the ISA sets the interface.

How is Instruction set architectures used in practice?

Typical applications include choosing ARM for a phone SoC because of its ecosystem, selecting RISC-V for a custom microcontroller to avoid licence fees and porting firmware from one architecture to another.

What should I learn before Instruction set architectures?

Study "CPU architecture" first (topic 56 of 104 in Electronics & Embedded). It covers the groundwork this topic builds on.

What are the key points of Instruction set architectures?

Load/store architecture. Instruction encoding. Extensions like SIMD.

Can you give an example of Instruction set architectures?

ARM Thumb-2 mixes 16 and 32-bit instructions for code density.

What comes after Instruction set architectures?

The next topic is "Pipelining", which builds directly on this one.

How difficult is Instruction set architectures?

It is classed as Intermediate in Electronics & Embedded (topic 57 of 104). It is an intermediate topic. Work through the beginner topics in Electronics & Embedded first.

Learning path

Want to practise? Open the interactive course for quick checks, quizzes, simulations and progress tracking.

Related topics