Mail Archives: djgpp/1997/02/25/13:04:55
Hello !
I'm have some problem when I write inline ASM :
to put I pixel a made (in pascal) :
mov ax,$A000
mov es,ax
but when i do this :
movw $0xA000,%ax\n
movw %ax,%es\n
The program crash ! (segmentation fault , i think...)
Can you explain me ???
With TASM or MASM you can declare procedure like :
something proc pascal
code
code
code
something endp
and then call it from the pascal source code ,can i make it with GAS and
include my asm proc. in my C source ???
Thanx ! (sorry for my bad english !)
Fviallet AT bplorraine DOT fr
- Raw text -