Robert Connolly wrote:
On Wednesday May 23 2007 06:16:14 pm George Boudreau wrote:
Robert Connolly wrote:
Do any of you know assembly well enough to convert this:
   It has been a few years.

http://www.linuxfromscratch.org/~robert/new/dd.asm
to something gcc can compile?
  Are you looking to convert this to 'C' or just strip the unnecessary code
  And remove all the options, making bs=1 the

To convert to at&t/gnu dialect assembly, with the options removed.

Now I remember why I gave up assembler for 'C'. But I have a stripped down version of your dd that compiles with
  gcc -c dd.s
  ld -o dd dd.o
  strip dd give 884 bytes.

The comments are sparse and I will add to them shortly. With a 1-byte block size copy large files is not recommended.


robert



Attachment: dd.s.bz2
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to