On 2007-03-14, Timothy Normand Miller wrote: > >> - Or the ability to specify arbitrary C code in the assembly > >> - And the ability to set the code address at the beginning of a > >> routine (which would translate into offset being altered at run-time). > > > >I can see interlaced.asm uses an ".addr = CONST" directive which is not > >implemented. To avoid confusion with the "addr" instruction I'd suggest > >".offset CONST". > > A common directive for this is "ORG". How about we use ".org"? In > fact, gas calls it ".org", but it appears to be relative. In any > case, let's call it ".org" and make it an absolute program file index. > I think we're using decimal numbers for the indexes.
It's in. ".org CONST" sets the instruction address and is now forced between the end of a conditional and the next label, in order to re-sync the address. The C function will bark if the argument to .org is too small so that the following code would overlap preceding code. _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
