首页 > 代码库 > 【2014-11-22】《The Hardware/Software Interface》– Section 3
【2014-11-22】《The Hardware/Software Interface》– Section 3
- The time required to execute a program depends on:
- The program
- The compiler
- The instruction set architecture(ISA)
- The hardware implementation
- The ISA defines:
- The system’s state(e.g. registers, memory, program counter)
- The instrutions the CPU can execute.
- The effect that each of these instructions will have on the system state.
- Complex Instruction Set Computer(CISC)
- Reduced Instruction Set Computers(RISC)
- Architecture: (also instruction set architecture or ISA) The parts of a processor design that one needs to understand to write assembly code.
- Microarchitecture: Implementation of the architecture.
- EIP: Extended Instruction Pointer(IA32)
- Three Basic Kinds of Instructions
- Performe arthmetic function on register or memory data
- Transfer data between memory and register
- Load data from memory into register
- Store register data into memory
- Transfer control
- Unconditional jumps to/from procedures
- Conditional branches
- What is A Register?
- A location in the CPU that stores a small amount of data, which can be accessed very quickly(once every clock cycle).
- Registers are at the heart of assembly programming
【2014-11-22】《The Hardware/Software Interface》– Section 3
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。