Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srec_cosmac(5) [debian man page]

srec_cosmac(5)							File Formats Manual						    srec_cosmac(5)

NAME
srec_cosmac - RCA Cosmac Elf file format DESCRIPTION
This file takes the form of one or more RCA Cosmac Elf monitor commands, also known as the IDIOT/4 monitor. Only the change memory command (!M) is allowed. The general form of the !M command takes the form !Maaaa dd ... dd The !M command writes data byte bytes (represented by character pairs dd) into successive memory locations, started at address aaaa. Spa- ces between data bytes are ignored. Using the comma (,) line continuation character resumes from the next address in sequence. !Maaaa dd ... dd, dd ... dd Using the semicolon (;) line continuation character takes an address on the next line !Maaaa dd ... dd; aaaa dd ... dd It is also possible to have the semicolon immediately after the command. !M; aaaa dd ... dd All of these forms may be used in combination. Size Multiplier In general, binary data will expand in size by approximately 2.0 times when represented with this format. EXAMPLE
Here is an example Cosmac file. It contains the data "Hello, World[rq] to be loaded at address 0x1000. !M1000 48656C6C6F2C20576F726C640A 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_cosmac(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

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

removing spurious charactors from file

Morning, Hopefully someone can help an newbie! I have been getting a number of file corruptions with Rogue "Control M" charactors . The effect is: Should be aaaa bbbb cccc dddd (4 lines) But getting (6 Replies)
Discussion started by: old git
6 Replies

2. Shell Programming and Scripting

enclose a line with quotation marks

i have a file like this aaaa bbbb cccc aaa aaaa aa cccccccccccccccc aaaaaaa aaaa aaaa i want to enclose this lines with double quotation: "aaaa bbbb cccc" "aaa aaaa" "aa cccccccccccccccc" "aaaaaaa aaaa aaaa" any idea? (preferably without using sed) thanks in advance... (3 Replies)
Discussion started by: gfhgfnhhn
3 Replies

3. Shell Programming and Scripting

Replacement of sed with perl

Hi using the below cmd i am identifying wheether last character in each line in thousands of files as semicolon or not.If last character is semicolon i am removing semicolon .If last character is not semicolon then i am appending next line to present line . For example my input file consists of... (4 Replies)
Discussion started by: dbsurf
4 Replies

4. Shell Programming and Scripting

subtitute specific column in line

Hi All, I have problem to solve aaaa,aaaaa,aaa,aaaa,aaa,aa ,aa bbbb,bbbbbbbbb,bbbb,bbbbb ,bb to aaaa;aaaaa,aaa ;aaaa;aaa,aa ;aa bbbb;bbbbbbbbb;bbbb;bbbbb ;bb i try use sed to find and replace, but dont know how to replace specific column position. can u help me?? thx for the... (11 Replies)
Discussion started by: MomoChan
11 Replies

5. Shell Programming and Scripting

update file contents using shell script

Hi, I am having a file which contains as below Names(aaaa ,bbbb ,cccc ,dddd) now i want the file to be updated with new value 'eeee' as below Names(aaaa ,bbbb ,cccc ,dddd ,eeee) Is there a way to script this ? Thanks, (5 Replies)
Discussion started by: drams
5 Replies

6. UNIX for Dummies Questions & Answers

Replace only first found white spaces with some other characters

Anybody can help me How can I replace only four first white spaces with , or any other characters aaaa 08/31/2004 08/31/2009 permanent Logical Processors in System: 64 bedad 08/16/2001 08/15/2011 permanent Logical Processors in System: 64 badnv14 05/31/2008 05/30/2013 permanent Logical... (5 Replies)
Discussion started by: pareshan
5 Replies

7. Fedora

word count wc

could someone explain this please. echo aaaa|wc -c 5 echo aaaa|wc -m 5 But I'd expect the count to be 4 Its SunOS 5.8 Thanks in Advance. (5 Replies)
Discussion started by: chaandana
5 Replies

8. Shell Programming and Scripting

Help with Bash script - set, awk

Trying to search a log file for a string, starting from a certain point in the log file. I want to return the number of lines that contain the search string and the total number of lines in the log file. Here's the part of the script I'm having problems with: set -- $(awk -v... (12 Replies)
Discussion started by: mglenney
12 Replies

9. UNIX for Dummies Questions & Answers

Squeezing multiple commands in one liner

i have two commands ls -l > aaaa tr < aaaa It give the out put :- TOTAL 16 -RW-R--R-- 1 SUBHO NONE 0 JUL 22 2009 AAAA DRWXR-XR-X 2 SUBHO NONE 0 JUL 22 20:55 DD -RW-R--R-- 1 SUBHO NONE 0 JUL 22 20:55 DDD -RW-R--R-- 1 SUBHO NONE 28 JUL 22 18:01 FF -RW-R--R-- 1 SUBHO NONE 93 JUL 22... (6 Replies)
Discussion started by: subhotech
6 Replies

10. UNIX for Dummies Questions & Answers

talk command to chat

Hi, Could you please advice on the following query: There are 2 users on a unix box: 1. aaaa 2. bbbb I open 2 putty sessions and login with the above 2 users. Then I type the following using the aaaa user to chat with bbbb. talk bbbb or talk bbbb@hostname Result: the screen goes... (4 Replies)
Discussion started by: miltonkeynesguy
4 Replies

11. Shell Programming and Scripting

combine files in horizontal way, not vertical.

Hi Everyone, I have three files. FileA: aaaa aaaa bb ccc FileB: 21 2 FileC: eeeeeee e eee ee Would like to combine three of them, not like cat, to cat three files, but the output should be like: (3 Replies)
Discussion started by: jimmy_y
3 Replies

12. Shell Programming and Scripting

How to expand the same word?

Hi All, May I know how to expand the words? e.g: a aa aaa aaaa I have try to use for (i=0;i<5;i++) do c="a" echo -n $c done but the output is aaaaa. Is it need to use array?:confused: Thanks for your help! (5 Replies)
Discussion started by: natalie23
5 Replies

13. Shell Programming and Scripting

Parse data

hi i have a file p1.htm <div class="colorID2"> aaaa aaaa aa <br/> bbbbbbbb bbb<br/> <br/>cccc ccc ccc </div><div class="colorID1"> dddd d ddddd<br/> eeee eeee eeeeeeeeee<br/> fffff <br/>g gg<br/> (5 Replies)
Discussion started by: saw7
5 Replies

14. Shell Programming and Scripting

Sed diffrent replace by occurrence

I couldn't find the answer anywhere, so I hope you could help me. I need to change something like the following: something/bla/aaaa anything/bbb to: something --bla ----aaaa anything --bbb How do I do this? Is it possible with sed? I tried various patterns, but don't know how to... (5 Replies)
Discussion started by: Patwan
5 Replies

15. UNIX for Dummies Questions & Answers

Grep certain lines with condition

file input aaaa,52C aaaa,50C bbbb,50C bbbb,58C aaaa,52C bbbb,50C aaaa,30C bbbb,58C cccc,60C i want to print uniq lines with its max value of column2 expected output aaaa,52C bbbb,58C cccc,60C tks (4 Replies)
Discussion started by: radius
4 Replies