AnsweredAssumed Answered

Does the "@" symbol act as a pointer in header files for Registers?

Question asked by BOB PAEHR on Aug 22, 2016
Latest reply on Aug 24, 2016 by BOB PAEHR

I'm using CodeWarrior 10.6.4 for an MC9S08QB8 device.  I'm fairly new to using the C-Language with micros, but I'm getting there.

A question has arisen from a colleague of mine who has used C much longer than me.  In particular, I reference Page 40 of the "Getting Started with HCS08 and CodeWarrior Using C, Rev. 2" document.  On that page there is a reference to using the "@" symbol as an "absolute address" to location $0065.  In trying to help me with my own understanding of how registers are accessed, he doesn't understand how the "@" symbol is used in the typical device headers (as indicated on Page 40).  He has tried to implement the "@" symbol in his own C-Development environment for one of his own projects (not CodeWarrior), but it was not acceptable there.

How does CodeWarrior/Eclipse treat the "@" symbol?  What is it's meaning?  Is it related to pointers?