01-23-04 10:18 PM
> You can load offset to yet another register and sum base pointer andquote:
> offset. This isn't optimized, but is working.
> But, all examples I've seen keeps offset values in assembler code as
> constant calculated manually or using separate preprocessing phase.
blech. Anyway, the problem is that the code I'm porting uses offsets to
access local variables (I doubt we can use C variables, but I can ask),
so I really can neither hardcode offsets nor use an offset register,
because most offsets aren't offsetof(), but sums of several constants
quote:
> It's better to think you can't.
it's that I can't use scope-sensitive labels (__label__) in ASM, and
I'd like to. If it isn't possible, we'll just give up nesting, anyway
[ Post a follow-up to this message ]
|