AnsweredAssumed Answered

MC9S08PA4 warning

Question asked by Mohamed Elzayed on Apr 23, 2015
Latest reply on Apr 24, 2015 by Mohamed Elzayed



I am getting this strange warning every time I compile my code.


In my code I start by Initialization section when I configure the PORT registers as follows.



; Output disabled


BSET    0,PORT_PTAIE   ; Input Enabled


I am using Freescale Codewarrioe 10.6 and the compilor does not seem to like something about my code. I get the following warning for each line in my code where I try to configure a register.


The warning is the following: A13003 Value is truncated to one byte.


Any help?


Many thanks