Instruction Set Architecture.md (976B)
1 +++ 2 title = 'Instruction Set Architecture' 3 +++ 4 How to program a computer: 5 1. Create model for programmable digital computer 6 2. Specify programming interface for each computer 7 8 3. Specify a generic programming language that works for all computers (software) 9 10 4. Design digital computers that match specific/general interface (hardware) 11 12 5. Design software engineering techniques to simplify and optimise coding (software stack) 13 14 A platform (simplified) is a set of technologies common to many applications. 15 ISA: list of instructions a computer can perform, grouped by type 16 17 Von Neumann Architecture — memory connects to CPU. CPU receives input and sends output. 18 19 CPU contains registers, arithmetic and logic unit, control unit. 20 21 How to compare ISA: 22 1. Complexity of what the ISA can do (flexibility) 23 2. Complexity for programmer (programmability) 24 3. Complexity for the hardware (implementation cost) 25 26 Memory structure: 27 28 - 1 byte is 8 bits 29 - 1 word is 32 bits (4 bytes)- [ ]