Oliver Scholz

XGate assembler IMM16 addressing mode not supported?

Discussion created by Oliver Scholz on May 15, 2007
Latest reply on May 17, 2007 by CompilerGuru
Hi,

I am writing an application using XGate assembly, and I am trying to use the immediate 16 bit addressing mode IMM16 as outlined e.g. in section 8.8.1.6 of the 9S12XDP512 manual:

LDW R6,#0

doesn't work in either assembler or inline: "Error A22005: Number or type of operands mismatch"

Is this unsupported or am I doing something wrong? (I am using CW4.5 for HC12 Build 6037)


Best regards,

Oliver

Outcomes