The DCAN module specifies that the user can enter a range of values for the Id: field in the Halcogen GUI. When i enter the value 0-100, the following code gets loaded into the IFxARB register
canREG1->IF1ARB = (uint32)0x80000000U | (uint32)0x00000000U | (uint32)0x20000000U | (uint32)((uint32)((uint32)0-100U & (uint32)0x000007FFU) << (uint32)18U);
Will the compiler not interpret it as a subtraction operation?? If this wrong,shouldnt Halcogen throw an error message while generating code?