srec_spectrum(5) File Formats Manual srec_spectrum(5)NAME
srec_spectrum - Spectrum file format
DESCRIPTION
In this format, bytes are recorded as ASCII code with binary digits represented by 1s and 0s. Each byte is preceded by a decimal address.
The file ends with a Control-C character (0x03).
Size Multiplier
In general, binary data will expand in sized by approximately 14 times when represented with this format (or 15 times on DOS or Windows).
EXAMPLE
Here is an example Spectrum file. It contains the data "Hello, World[rq] to be loaded at address 0x0.
^B
0000 01001000
0001 01100101
0002 01101100
0003 01101100
0004 01101111
0005 00101100
0006 00100000
0007 01010111
0008 01101111
0009 01110010
0010 01101100
0011 01100100
0012 00100001
0013 00001010
^C
COPYRIGHT
srec_cat version 1.58
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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.
AUTHOR
Peter Miller E-Mail: pmiller@opensource.org.au
//* WWW: http://miller.emu.id.au/pmiller/
Reference Manual SRecord srec_spectrum(5)
Check Out this Related Man Page
srec_spasm(5) File Formats Manual srec_spasm(5)NAME
srec_spasm - SPASM file format
DESCRIPTION
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 con-
tents are word addressed).
0080 6548
0081 6C6C
0082 2C6F
0083 5720
0084 726F
0085 646C
COPYRIGHT
srec_cat version 1.58
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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.
AUTHOR
Peter Miller E-Mail: pmiller@opensource.org.au
//* WWW: http://miller.emu.id.au/pmiller/
Reference Manual SRecord srec_spasm(5)
I have a flat file like this
0001 THER ULT HEAD & NECK VES
0002 THER ULTRASOUND OF HEART
0003 THER ULT PERIPHERAL VES
0009 OTHER THERAPEUTIC ULTSND
0010 IMPLANT CHEMOTHERA AGENT
0011 INFUS DROTRECOGIN ALFA
0012 ADM INHAL NITRIC OXIDE
I need to conver this to a comma delimited flat file... (2 Replies)
Hi all,
I have to add a number like 0001+1=0002.
If i put expr 0001 + 1 it is giving result as 2 but i wanted to get 0002.
Please tell me how can i get this.
Thanks,
Sona. (2 Replies)
Hello
I was doing a mksysb and was given an error message that my /dev/ipldevice was missing.
when i do an lslv -m hd5 i get the following output:
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0001 hdisk0
0002 0002 hdisk0
I check other... (3 Replies)
I have a file. The file contain as follows :
I want the output looking like:
Please help me. I want the script which count "~ this combination of character equal to 6 then print new line.
I have a code.
cat filename | tr -d '\n' | sed 's/\(*"~*"~*"~*"~*"~*"~\)/\1\n/g'
But this code... (1 Reply)
I need a (bash) script to echo to the screen all possible 4 character hex combinations of: A-F, 0-9. I beleive there are 65,535 approx combos. Output something like this:
0001
0002
0003
0004
0005
0006
0007
0008
0009
000A
...
...
FFFE
FFFF (6 Replies)