On Sun, 2007-06-03 at 07:43 -0400, James Knott wrote:
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.
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.
Anyone here learn a.l. by hand disassembling their basic interpreter? Someone mentioned that this looked like an effort on the part of person looking to learn assembly, to me that makes sense, and should signal the "vultures" to provide some actual guidance on getting the code runnable, and then perhaps crank over the style, which will come over time as the person gets used to assembly language. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org