From: Andrew Crabtree Message-Id: <199704272017.AA220732243@typhoon.rose.hp.com> Subject: Re: AT&T standard, what is it? To: henriossi AT geocities DOT com Date: Sun, 27 Apr 1997 13:17:23 PDT Cc: djgpp AT delorie DOT com In-Reply-To: <336307EC.3DB9@geocities.com>; from "Henri Ossi" at Apr 27, 97 11:01 am Precedence: bulk You must be kidding. This is a DOS COM file equivalent of a "hello world" program. Why don't you post the actual code you want to convert to DJGPP syntax. Or, if your not interested in doing inline code, use NASM. Its great, has intel syntax, and produces COFF files that you can link into your projects. Andrew BTW - If you want to see how this would look as a function in DJGPP assembler compile the following with -S. foo.c #include void yeehaa(void) { printf("Try to change ... \n"); } ------------------------------ > So, if someone could change this crappy little code to DJGPP's > inside assmebly, I would be very happy... > > ; my little asm program > .radix 16 > main segment para 'code' ; > org 0100 ; > assume cs:main ; > yeehaa: > > mov ah, 09h > mov dx, OFFSET hello > int 021h > mov ah, 04ch > int 021h > hello: DB 'Try to change this to AT&T standard!!',0Dh,0Ah,'$' > > main ends ; > end yeehaa ;