Allowing P1IN in the user's program but using __P1IN in the object file
eliminates some namespace contamination issues I wanted to avoid. I've got
a whole analysis of alternative solutions measured against three design
criteria, which I'll record with the architecture documentation in uniarch.
Thanks.
Peter
On Fri, Nov 26, 2010 at 5:33 AM, JMGross <msp...@grossibaer.de> wrote:
> ----- Ursprüngliche Nachricht -----
> Von: Peter Bigot
> Gesendet am: 30 Dez 1899 00:00:00
>
> >> (well, in theory, the ASM reference may be a
> >> global assembly symbol instead of a number, but that wouldn't be of any
> >> use)
>
> >Why not? That's the planned approach for uniarch, where the declaration
> for
> >P1IN would reference global symbol __P1IN which is resolved at the
> >non-relocatable link stage. This reduces the number of libraries required
> >by allowing chips that have the same register definitions, but at
> different
> >addresses, to share an implementation. It also reduces (does not
> eliminate)
> >the likelihood of errors from separate compilation with different header
> >files.
>
> I didn't say it is impossible, just that it does not make sense right now.
> Why generating a reference to a reference? You could just omit the
> asm then and directly use the available global symbol instead
> (which does not exist right now anyway).
>
> JMGross
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users