Mail Archives: djgpp/1997/04/27/16:28:13
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 <stdio.h>
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 ;
- Raw text -