Search code examples
assemblyreverse-engineering68000addressing-mode

68k assembly - plus symbol on address registers


While reverse engineering something for fun, I came across the following piece of assembly:

move.b  (a1)+,(a0)+

I understand that the parentheses mean 'value of', but what does the plus symbol stand for? How would I accurately translate this to C?


Solution

  • (a1)+ accesses memory at a1 and increments a1 by the size of the operation. In this case 1. What you have looks like a part of a typical loop that copies memory.