/mips-asm

An example of a basic graphics on MIPS assmebly

Primary LanguageAssembly

MIPS Assmebly

An example of a basic graphics on MIPS assmebly

Usage

This program requires MARS and Java.

Put MARS in the same directory with the provided assmebly files then you can open those files in MARS and run lab5_s20_test.asm after opening the Bitmap Display under Tools > Bitmap Display and changing the base address to 0xffff0000 (memory map)

Output after running the test file:

output

Separate use cases can be found in the test files as examples, such as:

# cyan point at  (1,1)
li $a0, 0x00010001
lw $a1, cyan
jal draw_pixel