Message-ID: <3313A399.C33@bplorraine.fr> Date: Tue, 25 Feb 1997 18:44:41 -0800 From: Maxime Viallet MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: ASM Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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