I have a question: is there an equivalent of __LINE__ for current asm line number?
I'd like to set a register like
Code:
move.l #__LINE__,d0
in case of an error for instance
BTW I had a lot of issues with PC-relative LEA which weren't in the same unit. I got a warning when linking (using long... for ...) but the address was still PC relative and it read at the wrong location.
Great assembler no matter what. Using it for 15+ projects now.