• urgent: word operand illegal access error
    Hello I want to know how we define pointer at any explicit location. My structure cointains two int type element. struct frame { unsigned int i; unsigned int j; }*ptr; When i define a pointer...
  • Class B Illegal word operand access trap, how do I debug
    I'm getting Class B Illegal word operand access trap on a C161 board and I don't know why. The problem is reproducable, but moves unpredicatably as I modify the code. My trap handler spits out the top...
  • code const illegal initialization
    I'm trying to put 2 config chars into ROM (user makes a change which the ROM remembers during power down). However on compiling I get: 'error C142: illegal initialization' and then 'warning C34: ...
  • PC-Relative label as binary operand
    Hello, Maybe my question is not unique, sorry for that, but I did't find a solution. So I gonna ask: How do I use labels in binary expressions? For example: AREA STACK, NOINIT, READWRITE...
  • Strange key words
    C166 has key words such as line , inline , ident , error . What does it means?