Autosave: 2024-03-15 09:00:04

This commit is contained in:
thomasabishop 2024-03-15 09:00:04 +00:00
parent 03f6fa6560
commit da37210dc1

View file

@ -4,17 +4,21 @@ tags: [CPU]
# Instruction Set Architectures # Instruction Set Architectures
We know that the [ALU](Arithmetic_Logic_Unit.md) is responsible for the ## Summary
"execute" stage of the [fetch, decode, execute](Fetch_decode_execute.md) cycle,
implementing the most basic binary operations such as adding two numbers.
Accross different machines and CPU types there can be differences in how the - Computers with different hardware execute machine code instructions (e.g
given instruction, say "add", is implemented. Not all computers will execute the _add_) in different ways. They have different _instruction set architectures_
instruction in the same way. (ISAs).
A family of CPUs that do implement the core instructions of the ALU in the same - A family of CPUs that implement the core instructions of the
way are said to share an **instruction set architecture** (ISA). Software that [[Arithmetic_Logic_Unit]] in the same way share an ISA. Any software built for
is built for a certain ISA works on any CPU that implements that ISA. that ISA will work on any CPU that implements the ISA
- The two main CPU architectures are ARM and x86
## Detail
## Architecture is logical not physical
> Note that this is a logical architecture rather than a physical architecture. > Note that this is a logical architecture rather than a physical architecture.
> Like ISA processors may work very differently on the hardware level whilst > Like ISA processors may work very differently on the hardware level whilst