A83: zasmload and the symbol table
[Prev][Next][Index][Thread]
A83: zasmload and the symbol table
there is a problem with zasmload. i haven't taken a close enough look at
the source code but it is as simple as this...if your program is UNDER
255 bytes in size (this is excluding the symbol table entry) then you
will get an memory error. the only solution is to make your program
larger than 255 bytes. or, you could write it for sos and you wouldn't
experience this problem. i have had this same problem. i would say that
if it is less than 255 bytes, it really isn't worth squishing.
the reason there are two different symbol tables is because all the
entries in the prog/list symbol table are of varying sizes (i think min
6 bytes, max 12 bytes). but all the entries in the regular symbol table
are the same size, 6 bytes. it isn't really necessary, but i guess it
makes things easier.
you can tell if you have hit the end of the prog/list symbol table (as
joe said) if you have reached an unknown element. you can tell if you
have hit the end of the normal symbol table if you have hit the
prog/list symbol table. hardware stack starts at FFFFh and is 400 bytes.
the normal symbol table starts right after that at FE6Eh.