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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to