ISA Ext Flashcards
Fetch
Instructions are fetched from the memory address,
the memory address is stored in the program counter
and then stored into the instruction register,
the program counter at the end of the instruction the moves to the next instruction.
Decode
the decoder decodes the instruction in the instruction register and interprets it for the machine.
Execute
The control unit then passes the decoded information
as a sequence of signals
to relevant parts of the CPU
and performs actions.
What is Assembly?
Low - level language designed for systems so we dont have to use machine language.
What is an assembler?
Translates assembly code into machine code
Instruction Cycles
To get instructions to the control unit
Memory Hierarchy levels
*Fastest* Registers Cache Main Memory Magnetic disk Optical disk *Slowest*
6 architecture levels
0 digital logic level
compiler
1 microarchitecture
assembler
2 instruction set level
OS
3 operating system machine level
microprogram
4 assembly level
hardware
5 problem oriented Level
How do the 6 levels or architecture work together
- Program runs in level 05,
- is compiled and ran through an assembler (level 04),
- Partial interpretation with the OS (Level 03),
- which uses instructions (level 02)
- to transform into binary code which interprets into micro architecture (level 01)
- and then uses logic to work with hardware into logic gates (level 0) and signalling.
ISA proper def
Instruction set architecture is how the machine operates, this includes how memory, data types registers and I/O devices operate