[A83] Re: Release of SquishIt to TICALC.ORG


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

[A83] Re: Release of SquishIt to TICALC.ORG




I'm not sure of how TASM and other assemblers work, but when you make a
.8XP assembly program file, you can open it in graph link. It will look
something like this:

AsmPrgm
AA0EBF927DBCA6FE7CB01002472381C5D6E4BB5C8D7E9AF

This is not a compiled assembly program. The text "AA0EBF927DBCA6F..."
represents hexadecimal data. For example, when you run the program, "AA"
will be interpreted as 0xAA, 170 decimal, or 10101010 in binary
(whatever way you want to look at it). This is a waste of space, because
the character "A" in an un-compiled assembly program such as this one
takes up 1 byte. Two of these characters are necessary for the calc to
read 1 byte of instruction.=20

AsmComp( compiles assembly programs into normal format. So, when you
open this file in, say notepad, if will look all messed up. You will not
see "AA0EBF927DBCA6F...". They only way you can see this is to use a hex
editor.=20

This program contains the actual binary data needed to run. An
un-compiled program contains characters that represent binary data, and
it must be converted in order to run (this is done automatically by the
calculator when you run the program using Asm(prgmX)).

The benefit of "squishing", or compiling a program, is that it cuts
program size in half (because 2 characters are converted to 1 byte) and
the user cannot edit and screw up the program, causing it to crash.

I hope that clarifies things a little...

Take care,
Tom

-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of Patrick
M=E4chler
Sent: Thursday, January 24, 2002 11:11 AM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: Release of SquishIt to TICALC.ORG


> It's operation is similar to the operation of AsmComp( on the
> calculator.=20

What does "AsmComp(" exactly?








Follow-Ups: References: