projects
/
calu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
progs/sum: 92 -> 74 cycles (thx @ loop unrollen)
[calu.git]
/
cpu
/
test.s
1
ldi r0, 0x200B;;
2
ldi r1, 0x200C;;
3
ldi r2, 0x2010;;
4
ldw r3, 0(r1);;
5
cmp r3, r4;;
6
breq 4;;
7
stw r3, 0(r0);;
8
stw r3, 0(r2);;
9
addi r4, r3, 0;;
10
br 4;;
11