In M68040 asm, given:
mov.l #0x1000, %a0
mov.l -(%a0), -(%a0)
What is the %a0 value after the second mov? Is the register decremented twice or once?
What instead of mov.l we use one of the few other instructions that support pre-decrement/post-increment on both source and destination?
The MC68040 UM states that move16 (%an)+, (%an)+ performs only a single increment, but I could not find any information regarding the general case.
I am working on an emulator and do not have an actual CPU. Also, the general consensus online seems to be that Easy68k is not trustworthy when dealing with this kind of corner case.