Mailinglist Archive: opensuse (1962 mails)
| < Previous | Next > |
Re: [opensuse] Assembly Language program
- From: James Knott <james.knott@xxxxxxxxxx>
- Date: Sun, 03 Jun 2007 07:43:57 -0400
- Message-id: <4662A97D.6050403@xxxxxxxxxx>
M Harris wrote:
> On Friday 01 June 2007 22:22, azeem ahmad wrote:
>
>> i am about to make a bootable floppy for test
>> but i am being unable to get it done
>>
> Whoa bubba... I am surprised you can make lunch... but seriously, who taught
> you how to write assembler code? Ok, here is a sample "hello, world!"
> program that includes a counted loop to the iolib wrapper routine
> ( hello.asm ) and the io wrapper ( iolib.asm ) and a Makefile. All you will
> need to build this hello world demo in opensuse is yasm|nasm , binutils
> ( ld ) and elf (standard). Its a flat 32 bit sample, staticly linked, and
> does not call any of the c library. Enjoy, but pay particular attention to
> the format, the style, the comments, and the Makefile. note: do not include
> the /begin /end lines in the code files.
>
> </begin hello.asm>
>
Anyone here remember doing assembly code in DEBUG? Many years ago,
someone wanted a DOS utility that would just return an error code and do
nothing else. I wrote one in assembler, using DEBUG, and it was only 5
bytes long. The same thing in Turbo C, came in at a few K bytes.
--
Use OpenOffice.org <http://www.openoffice.org>
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> On Friday 01 June 2007 22:22, azeem ahmad wrote:
>
>> i am about to make a bootable floppy for test
>> but i am being unable to get it done
>>
> Whoa bubba... I am surprised you can make lunch... but seriously, who taught
> you how to write assembler code? Ok, here is a sample "hello, world!"
> program that includes a counted loop to the iolib wrapper routine
> ( hello.asm ) and the io wrapper ( iolib.asm ) and a Makefile. All you will
> need to build this hello world demo in opensuse is yasm|nasm , binutils
> ( ld ) and elf (standard). Its a flat 32 bit sample, staticly linked, and
> does not call any of the c library. Enjoy, but pay particular attention to
> the format, the style, the comments, and the Makefile. note: do not include
> the /begin /end lines in the code files.
>
> </begin hello.asm>
>
Anyone here remember doing assembly code in DEBUG? Many years ago,
someone wanted a DOS utility that would just return an error code and do
nothing else. I wrote one in assembler, using DEBUG, and it was only 5
bytes long. The same thing in Turbo C, came in at a few K bytes.
--
Use OpenOffice.org <http://www.openoffice.org>
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |