
Code given:
main.asm
.org 0x10000000
li $sp, 0x10fffffc # Stack pointerinitialization
li $s0, sseg_lut # Lookup table address used bysseg_display
lui $s1, 0xf070 # Interrupt controller register
lui $s2, 0xf0a0 # Seven segment display
# ****************************
# TODO: enable interrupts below
# ****************************
# NOTE: Do not add or modify any code within this main loop
main:
jal sseg_display
nop
addiu $a0, $a0, 1
j main
nop
# ****************************************
# TODO: add interrupt service routine below
# ****************************************
sseg_display.asm
asm_file_trap:
# If your program ends up in this loop then your
PayPal Gateway not configured
PayPal Gateway not configured