I don't see a decrement version of isz, so if I want a loop that loops 0x18 times, does it have to be done like this where I calculate the difference between 0x18 and 0x100 and increment instead with the isz instruction?
Or is there a better way? The nop inside the loop is just a representation of what the loop might do, it doesn't do anything currently.
Or is there a better way? The nop inside the loop is just a representation of what the loop might do, it doesn't do anything currently.
Code:
fim 1, $e8
loop1
nop
isz 3, loop1
isz 2, loop1
halt
jun halt