Hmm. I'm not having a clean installation here, so I'm not sure if this was added to 4.6 already or if it came later (and has not been officially released therefore). Out of the release notes of the XGATE assembler
- Fixed: the inline assembler did not handle pseudo-instructions with 16-bit immediates (e.g. LDW RD, #IMM16)
With your assembler, you can use the two single instruction LDW maps too directly (or even in a macro)
E.g.
XREF ExternalLabel
LDL R6,#%XGATE_8(ExternalLabel)
ORH R6,#%XGATE_8_H(ExternalLabel)
Anyway, for me those pseudo-instructions are more traps than useful features.
I mean "LDW R6,#0" is an especially inefficient way to load 0 into R6, a "LDL R6,#0" is twice as efficient, and just using R0 instead of R6 is even better :smileyhappy:.
I like to see what is going on, and those pseudo-instructions just hide that.
Daniel