This format is the output of the Paralax SPASM assembler
(now defunct, I'm told).
The file contains two columns of 16-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-endian data (the most
significant byte first). If you want little endian order,
use the -spasm-le argument instead.
Size Multiplier
In general, binary data will expand in sized by approximately 5.0 times
when represented with this format (5.5 times in Windows).
EXAMPLE
Here is an example SPASM file.
It contains the data "Hello, World[rq] to be loaded at bytes address 0x0100
(but remember, the file contents are word addressed).
srec_cat
version 1.56
Copyright
(C)
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter Miller
The
srec_cat
program comes with ABSOLUTELY NO WARRANTY;
for details use the 'srec_cat -VERSion License' command.
This is free software
and you are welcome to redistribute it under certain conditions;
for details use the 'srec_cat -VERSion License' command.