Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srec_spectrum(5) [debian man page]

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)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Flat Files

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)
Discussion started by: thumsup9
2 Replies

2. UNIX for Dummies Questions & Answers

Add two numbers like 0001+1 and get result as 0002

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)
Discussion started by: Sona
2 Replies

3. AIX

missing /dev/ipldevice

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)
Discussion started by: mhenryj
3 Replies

4. HP-UX

HP-UX cómo saber si una LUN esta en un Volume Group

Hola a todos, me gustaría saber cómo chequear si estas LUN´s objecthexuid .........................: 6005-08b4-0001-529c-0005-6000-45d6-0000 objecthexuid .........................: 6005-08b4-0001-529c-0005-6000-45d9-0000 objecthexuid .........................:... (1 Reply)
Discussion started by: aav1307
1 Replies

5. Shell Programming and Scripting

Help for sed command

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)
Discussion started by: mnmonu
1 Replies

6. Shell Programming and Scripting

Character generation

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)
Discussion started by: ajp7701
6 Replies

7. Shell Programming and Scripting

Copying a file to multiple other files using a text file as input

Hello, I have a file called COMPLIST as follows that contains 4 digit numbers.0002 0003 0010 0013 0015 0016 0022 0023 0024 0025 0027 0030 0031 0032 0033 0035 0038 0041 (3 Replies)
Discussion started by: sph90457
3 Replies