Is it safe to say that all the data (the values themsevles - the opcodes and opcode arguments (registers, constants, constant table lookups, jump offsets, etc)) within the bytecode are exactly and invariably 32 bit, but the size of the type that they're stored in may be whatever is comfortable to the platform?
That makes 64->32->64 conversions trivial (even accounting for byte order), since 64 bit is simply a sign extension word and the 32 bit value. Hmm, but we do have a mix of signed and unsigned words, which could have an effect if the MSB is set. The header portion may need some work.... -- Bryan C. Warnock [EMAIL PROTECTED]