From: owsim AT emma DOT ruc DOT dk (Ole Winther) Message-Id: <9703101326.AA01830@emma.ruc.dk> Subject: asm as a part of g++ To: djgpp AT delorie DOT com Date: Mon, 10 Mar 1997 14:26:28 +0100 (MET) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 682 Well some problem when using dj asm in g++. I where suppose to make a test, how making g++ with asm as a part, like this. #pragma inline includes main () unsigned short tax; asm (" push %ax; movw $µ0,%ax; mov %ax,tax; pop %ax; "); do something else ; well compiling this is okay, but when running gxx, it complain about missing object reference, why an how doing this. another little problem is that I dont know how to do when using the BC "getvector", "setvector", in g++. I tryed the command in dpmi.h.. _dpmi_...real_mode_set/get_vector( ....,...); but I wonder if it's the way to do it?. Ole Winther Roskilde university center, department of computer science.