From: Manu <con...@wa...> - 2002-04-04 14:17:22
|
Hi, these are some links i have found on AT&T assembly syntax, i hope it will help. Inline Assembly with DJGPP: http://www.delorie.com/djgpp/doc/brennan/brennan_att_inline_djgpp.html DJGPP QuickAsm Programming Guide: http://www.castle.net/~avly/djasm.html ----- Original Message ----- From: "Al Slater" <al....@sc...> To: <min...@li...> Sent: Thursday, April 04, 2002 1:53 PM Subject: [Mingw-users] inline Assemby > Hi, > > I need to translate the following code fragment from MSVC syntax into gcc > syntax, can anyone help? > > __asm > { > mov eax, toCompare; > mov ebx, newValue; > mov ecx, toFill > lock cmpxchg [ecx], ebx; > mov result, eax; > } > > Thankx in advance, > > Al Slater > > Support Supervisor > Stanton Consultancy > al....@sc... > +44 (0)1273 666607 > > |