.text main: # Program does nothing! # But is has global variables li $v0, 0 # return 0 jr $ra .word 42 # initialises a 4 byte value to 42 .half 7 # initialises a 2 byte value to 7 .byte 'a' # initialises a 1 byte value to ‘a’ #We can also just ask for some memory without initialising it (typically we prefer to initialise it) .space 8 # sets aside 8 uninitialised bytes