Re: Porting MPASM assembly to XC8
I always use "absolute mode", which IMHO gives you much more freedom and flexibility. It is no longer supported.
ORG works relative to the section start. CBLOCK doesn't work (not a big deal though). You probably can circumvent this by clever use of PSECT.
WHILE macros are no longer supported. They are so handy. I don't think I ever wrote any program without them.
EQU doesn't work under IF. I would call this a bug, but according to migration documents it is intentional.
Lots of other MACRO stuff is not supported. Looks like macros are meant more for text substitution as opposed to code generation.
I feel like I wouldn't get any benefits by using XC8 Assembler. If I switched to it from MPASM, I would feel like I'm programming in C, except that instead of nice C constructions, I would have to write all the instructions manually. What's the point of this?