would something like
inc %D0
Also modify that as expected?
A debugger of some kind would be helpful >.<
EDIT: wait a sec, i think i have an error in my logic and that part is actually working
EDIT2: yes, figured it out, so apparently it worked all along but i didn't notice it did, thanks for your help!