At 8:45 PM +0000 10/28/02, Matthew Zimmerman (via RT) wrote:
..../disassemble.pl prints out information about the *size* of
each piece of header information in a bytecode file, but
doesn't actually print out the *values* of each parameter.
This patch corrects that.

Also: are the sizes of the initial header fields (wordsize,
byteorder, major, minor, etc...) always going to be 8-bit
bytes, or is that system-dependent? In other words, can I
get the wordsize for a PBC file on all platforms by reading
the first 8 bits or do I have to do something more complicated?
(./pdd/parrotbyte.pod doesn't make it clear to me.)
They're always going to be 8-bit bytes. (At least those bits that we need to determine endianness and size and such) It's the easiest way to figure out that information, as you don't have to worry about byteswapping and endianness with a single byte. (If anyone has a platform with a word size of more than 256 bytes, if you get me a working system I'm sure we can do something... :)
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk

Reply via email to