This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Absolute addressing question

Is there a difference between the following two statements:

1.

char far SL811 _at_ 0x07F7FF;
       SL811 = 0x0D;
  

2.
#define SL811 *((char far *)0x07F7FF)
       SL811 = 0x0D;
  

I've been having trouble with pointers and this will help me understand a little better.

Thanks!

0