t64/progs/incwpaging.t64
2020-06-21 14:14:57 -05:00

21 lines
244 B
Plaintext

LDB r0,(count)
LDB r1,(incsize)
loop: ARB r0,r0,r1,ADD,0
STB r0,(count)
JNC (loop)
hlt: JMP (hlt)
count: db 0
incsize: db 1
org 0x100
dqw 0x201
org 0x200
dqw 0x301
org 0x300
dqw 0x401
org 0x400
dqw 0x501
org 0x500
dqw 0x601
org 0x600
dqw 0x001