Thank you to reply to my message. Ian, I am using Linux, Fedora 12. I typed 'as' as you wrote: root> as Then I wrote the name of my input file: root> asm1.s Then i pressed <ENTER> and then <ctl-D> and nothing happned! For the second time I pressed <ctl-D> and now I have the following error message: {standard input}: Assembler messages: {standard input}:1: Error: no such instruction: `asm1.s'
I think you meant writing some assembly instructions before <CTL-D>. But when I type: root> as <ENTER> root> mov $0, %eax <ENTER> root> <CAPS LOCK> <CTL-D> nothing happens!! but if i press <CTL-D> for two more times, it will exit from as and returns back to my shell prompt! So what happened? Did it assemble the line? Why this <CTL-D> is useful, how it is used? Thank you to read my message. On Tue, Oct 12, 2010 at 4:47 PM, Ian Lance Taylor <i...@airs.com> wrote: > http://en.wikipedia.org/wiki/End-of-file > > In other words, type > > as > your input file > ^D > > This assumes that you are using Unix or GNU/Linux; you didn't say. > > Ian > _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils