KEYBOARD_EVENT_PENDING:
KEYBOARD_EVENT:
.word 0x0
KEYBOARD_COUNTS:
Copyright By PowCoder代写 加微信 powcoder
.space 128
.asciiz “\n”
.asciiz ” ”
.eqv LETTER_a 97
.eqv LETTER_b 98
.eqv LETTER_c 99
.eqv LETTER_D 100
.eqv LETTER_space 32
# STUDENTS MAY MODIFY CODE BELOW
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
check_for_event:
la $s0, KEYBOARD_EVENT_PENDING
lw $s1, 0($s0)
beq $s1, $zero, check_for_event
.ktext 0x80000180
__kernel_entry:
__exit_exception:
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# STUDENTS MAY MODIFY CODE ABOVE
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com