Re: A83: Mysterious Data Increase


[Prev][Next][Index][Thread]

Re: A83: Mysterious Data Increase





"Fam. Engelen" wrote:
> I sort of get it now. The calculator uses 2 hexadecimal digits (thus 2
> bytes) to store the value of one byte. I understand this now, but I don't
> think it really makes any sense. This would mean that any data stored in an
> assembly program would take up exactly double the amount of memory that is
> theoretically needed! This is, ahem, not awfully efficient, is it? Would
> there be some trick to store a byte in a byte? Is this, maybe, what squish
> and the likes do? (never used any of these)
> 

In fact, it takes 3 times the memory needed, because it is copied and translated
into ram at runtime.
And yes, translating theese ascii hex to binary data, so 1 byte takes  1 byte,
is exactly what squish does.

//Olle


Follow-Ups: References: