Spasm file format
This format is the output of the Paralax SPASM assembler (now defunct, I'm told). The file contains two columns of 16\[hy]bit hexadecimal coded values. The first column is the word address, the second column is the word data.
By default, SRecord treats this is big\[hy]endian data (the most significant byte first). If you want little endian order, use the -spasm\[hy]le argument instead.
In general, binary data will expand in sized by approximately 5.0 times when represented with this format (5.5 times in Windows).
Here is an example SPASM file. It contains the data \[lq]Hello, World[rq] to be loaded at bytes address 0x0100 (but remember, the file contents are word addressed).
0080 6548 0081 6C6C 0082 2C6F 0083 5720 0084 726F 0085 646C
\*(n) version \*(v)
Copyright \*(Y) Peter Miller
The \*(n) program comes with ABSOLUTELY NO WARRANTY; for details use the '\*(n) -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the '\*(n) -VERSion License' command.
Peter Miller | E\[hy]Mail: | [email protected] |
---|---|---|
/\ | /\ | * |
WWW: | http://miller.emu.id.au/pmiller/ |