ECET330 Week 3 iLab Introduction to Loops and Subroutines in Assembly
Objectives:
- To become familiar with conditional branch instructions
- Understanding how to write loops
- Understanding how to write subroutines
What does the CPU do (in terms of register contents and stack) when it executes a JSR instruction?
What does the CPU do (in terms of register values and stack) when it executes a RTS instruction?