logisim-stuff/TK16/TK16 programs/test.asm

11 lines
100 B
NASM
Raw Normal View History

2015-01-04 15:24:53 -06:00
.dseg
temp: .alloc 1
.def cons1 1
.cseg
loop:
loada temp
iloadb cons1
add
store temp
incp
jump loop