Lab 04 · FPGAcademy handout edition 24.1
Stack and subroutines
Preserve a register through two calls.
Start with Part I Trace a byte from the stack to the terminal
Parts in handout order
- Part ITrace a byte from the stack to the terminal
FPGAcademy: Send characters and a hex digit to the terminal
CPUlator simulatorCPUlator
Original handout PDF
- Part IIPrint all eight hexadecimal digits of a word
FPGAcademy: Print a complete word in hexadecimal
CPUlator simulatorCPUlator
Original handout PDF
- Part IIIFormat an unsigned 32-bit word as decimal text
FPGAcademy: Format a word as decimal text
CPUlator simulatorCPUlator
Original handout PDF
- Part IVRead a live register with the board controls
FPGAcademy: Select a saved register and print it in decimal or hex
CPUlator simulatorCPUlator
Original handout PDF
