Start storage program

master
kolaente 4 years ago
parent 510e8a8aef
commit ad4fa21f7e
Signed by: kolaente
GPG Key ID: F40E70337AB24C9B
  1. 14
      programs/storage.hal

@ -1,3 +1,17 @@
0001 START
# Init counter
0002 LOADIND 1
0003 DIVNUM 2
0004 STOREIND <reg 1>
# counter++
0009 LOAD 1
0010 ADDNUM 1
0011 STORE 1
# loop
0011 JUMP 0002
1000 DUMPREG
1010 DUMPPROG
1020 LOAD 1036

Loading…
Cancel
Save