#43 '&' to a variable with known address

closed
nobody
None
5
2004-11-14
2003-11-08
No

Access to bitfields would be quicker
(and would need less slocs)
if SDCC would directly use the address
specified with the 'at' keyword when it
gets an '&' to the respective variable.

--8<--------------------
#include "mc68hc908qy.h"

main()
{
DDRA0=1;
}
-->8--------------------

Discussion

  • Logged In: YES
    user_id=589052

    this seems to have been fixed a while ago (probably
    2004-08-27, thanks!) Now it compiles to:
    bset #0,*0x04

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=589052

    this seems to have been fixed a while ago (probably
    2004-08-27, thanks!) Now it compiles to:
    bset #0,*0x04