ISA Priciples
[!Note] with attendence as bonus
1 Instruction Set Principles¶
1.1 Architectures¶
- Stack Architecture
- Accumulator Architecture
- Register-Memory Architecture
[!Note] e.g. D = A * B - (A + C * B)
1.1.1 Stack Architecture¶
- Implicit Operands : on the Top Of the Stack (TOS)
- Simple example: 98 * (12 + 45)
1.1.2 Accumulator Architecture¶
- One implicit operand: the accumulator
- One explicit operand: mem location
- Accumulator is both an implicit input operand and a result
1.1.3 Register-Memory Architectures¶
1.1.4 Register Operands¶
Memory Operand Examples
1.1.5 Caller Saving and Callee Saving P484¶
叶子过程示例