Peter Richter

XGATE LDW mnemonic does not work for 16bit immediate constatnt

Discussion created by Peter Richter on Aug 6, 2008
Latest reply on Aug 8, 2008 by Peter Richter
I'm using CW 5.7 and a MC9S12XDP512 controller.
Flw. problem. If I want to load a 16bit wide constant in XGATE with the LDW instruction like LDW  R4,#$1234 (see example: datasheet HCS12X controller page 338) I got flw. error message:A22005: Number or type of opernads mismatch.  What I'm doing wrong?