diff options
Diffstat (limited to 'assembly/crosswalk')
| -rw-r--r-- | assembly/crosswalk/crosswalk.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/assembly/crosswalk/crosswalk.S b/assembly/crosswalk/crosswalk.S index 4baeaa8..2403529 100644 --- a/assembly/crosswalk/crosswalk.S +++ b/assembly/crosswalk/crosswalk.S @@ -172,6 +172,16 @@ ld x30,116(x31) mret # Return to the program handler_other: +# Turn the lights all off to indicate that they're not working +la a0,lightchannel +la a1,offmsg +li a7,129 +ecall +la a0,pedchannel +la a1,offmsg +li a7,129 +ecall + li a7,4 la a0,unimplementedmsg ecall # Display unimplemented trap message @@ -191,6 +201,7 @@ msgbuf: .asciz " " lightchannel: .asciz "light" pedchannel: .asciz "ped" +offmsg: .asciz "OFF" redmsg: .asciz "RED" yellowmsg: .asciz "YELLOW" greenmsg: .asciz "GREEN" |
