CPS 1 - Spring, 1998 - Ramm 3/11 #23
Chapter 8. Machine Architecture
- Need to handle IF and WHILE situations
- cmp instruction
- jmp, jnb, jb instructions
- Tracing (often the only way to understand)
- More Examples
-
largest.as
-
summer.as
- Factorial Example (Iterative)
-
fact.as
- Handling Lists or Arrays (Self Modifying Code)
- Fancier Architecture
- Need for more registers
- Dealing with tables (arrays)