Thanks for the reply.
I have found the exact command (objcopy) yesterday most
probably from some thread in the debian-user
mailing list (or maybe LIP, I don't remember).

First, after writing a program in assembly (say hello.asm),
I run nasm to get the binary output thus:
$ nasm -f bin hello.asm
This gives me a binary file named hello. Then I get 
Intel Hex format output from this using:
$ objcopy -I binary -O ihex hello hello.ihex

Regards,
Santanu Chatterjee
[EMAIL PROTECTED]

On Fri, Mar 15, 2002 at 10:22:25PM +0530, Santanu Chatterjee wrote:
>> 
>> Does anyone know how to produce Intel Hex format output 
>> using nasm ? I need to feed this output to the 8086 kit 
>> that we have got at our college.
>> 
>Don't know how to do it in nasm. But if you  want to have
>a hex dump of any file do:
>
>od -h <filename>
>
>'info od' for details.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to