CSC258 Final Project: Doodle Jump
Yuuuuuu-xue
MIPS Assembly
- Download the MARS v4.5 from here
- Open the file doodlejump.s in MARS
- Set up display:
- Tools > Bitmap display
- Set:
- Unit Width in Pixels to 8
- Unit Height in Pixels to 8
- Display Width in Pixels to 256
- Display Height in Pixels to 512
- Base address for display to 0x10008000 ($gp)
- Click on Connect to MIPS
- Set up keyboard:
- Tools > Keyboard and Display MMIO Simulator
- Click on Connect to MIPS
- Run > Assemble
- Run > Go
- Input:
- r to start or restart
- j to move left
- k to move right
- e to end the program