aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ex.pack
blob: 777deaf31939a94365b349f8fe05875d833081b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
== code 0x80400000
# repeatedly print "Hi\n"
# main:
# load 0x10000000 (UART0) into t0
b7 02 00 10
# store 0x48 (H) in UART0+0
13 03 80 04
23 80 62 00
# store 0x69 (i) in UART0+0
13 03 90 06
23 80 62 00
# store 0x0a (\n) in UART0+0
13 03 a0 00
23 80 62 00
# jump back up to the top
6f f0 5f fe