+/EE460N

computer architecture

git clone https://git.julia.blue/+/EE460N

Joseph RyanFinish Lab 32dace00

master
328 B29 linesraw
1.orig x3000
2lea r0 storage
3add r1 r1 #3
4lshf r1 r1 #6
5add r1 r1 #3
6add r2 r2 #-1
7add r3 r3 x7
8; r1 = x00c3
9; r2 = xffff
10; r0 = &storage
11stb r2 r0 x0
12stw r2 r0 x1
13stw r2 r0 x2
14stw r2 r0 x3
15stw r2 r0 x4
16
17stb r1 r0 x3
18stb r1 r0 x4
19stb r1 r0 x7
20stb r3 r0 x8
21self br self
22storage .fill x1234
23.end
24
25# 12ff
26# c3ff
27# ffc3
28# c3ff
29# ff07