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_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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)