sign jmz.b done, location slt.b location, #1+CORESIZE/2 mov.ab #-1, location seq.ab #-1, location mov.ab #1, locationdone
sign jmz.b done , location div #1+CORESIZE/2 , location sub.ab >location , locationdone
The code above only works when the location is like this:location dat 0 , 4001sign jmz.b done , location div #1+CORESIZE/2 , location sub.ab >location , locationdoneend signElse you would probably need one more line...
Adding one line will make the placement of location free.sign jmz.b done , location div #1+CORESIZE/2 , location mul.ab #-2 , location nop >locationdone
Post a Comment
3 comments:
sign jmz.b done , location
div #1+CORESIZE/2 , location
sub.ab >location , location
done
The code above only works when the location is like this:
location dat 0 , 4001
sign jmz.b done , location
div #1+CORESIZE/2 , location
sub.ab >location , location
done
end sign
Else you would probably need one more line...
Adding one line will make the placement of location free.
sign jmz.b done , location
div #1+CORESIZE/2 , location
mul.ab #-2 , location
nop >location
done
Post a Comment