Merge branch 'main' into compiler
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// program to just test compute power
|
||||
|
||||
dw large_num: 0x333333 // 333,333 instructions
|
||||
start:
|
||||
ldw large_num, rg0
|
||||
|
||||
// run approx 1m instructions
|
||||
loop:
|
||||
dec rg0
|
||||
cmp rg0, zero
|
||||
jgt loop
|
||||
hlt
|
||||
Reference in New Issue
Block a user