#PIZZA_SIZE_OFFSET = #PIZZA_PRICE_OFFSET = #PIZZA_STRUCT_SIZE = .text main: main__prologue: main_body: li $v0, 4 la $a0, menu_str # printf("The available pizza options are:\n"); syscall li $v0, 0 # return 0 main__epilogue: jr $ra ######################## print_pizza: li $v0, 4 # printf("Size: "); la $a0, size_str syscall jr $ra ######################### increase_price: jr $ra .data menu_str: .asciiz "The available pizza options are:\n" size_str: .asciiz "Size: " price_str: .asciiz ", price: " cents_str: .asciiz " cents\n" pizza_options: .asciiz "small" #TODO # {"small", 300}, # {"medium", 550}, # {"large", 800}