blob: 8156628a5382666ed2bf613a4de9de2a97067d9b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
56 8
# init:
00000000 01010011 # lilz B 0
00000010 01001011 # liu B 64
00000010 01000001 # lw B 0(B)
00000000 10110011 # lilz E init
00000000 10101011 # liu E init
01000010 10101010 # jer E B Z
00010001 00100000 # add D D B
01111111 11101100 # incri SP -2
00000111 00110001 # sw D 0(SP)
01001100 10010011 # lilz A msgtick
00000000 10001011 # liu A msgtick
00010000 00010010 # jal ser_out_msg
00000111 00100001 # lw D 0(SP)
01000000 11101100 # incri SP 2
00100111 11100010 # j init
# ser_out_msg:
01000000 11010011 # lilz C 2
10000010 11001011 # liu C 65
# ser_out_msg_loop:
00000100 01001001 # lb B 0(A)
00001100 10110011 # lilz E ser_out_msg_ret
00000000 10101011 # liu E ser_out_msg_ret
01000010 10101010 # jer E B Z
00000110 01011001 # sb B 0(C)
10000000 10001100 # incri A 1
00101111 11100010 # j ser_out_msg_loop
# ser_out_msg_ret:
00000000 01101010 # jr RA
# msgtick:
00101010
# msgtick:
10010110
# msgtick:
11000110
# msgtick:
11010110
# msgtick:
10000100
# msgtick:
00000000
|