From: amh15 AT cus DOT cam DOT ac DOT uk (Alan Hart) Subject: Assembler/Debug32 bug? To: djgpp AT sun DOT soe DOT clarkson DOT edu (GNU C++) Date: Thu, 16 Jun 1994 12:09:15 +0100 (BST) I've been trying some inline assembler in DJGPP. I've just about overcome the strange GNU syntax and the new external debug32 (what happened to source level debugging?) but I have one strange thing happening. I assemble an instruction as movw %%dx,foo(%%esi,%%ecx,$4) (if my memory serves me right - the $ is not needed but is generated by the compiler because I use a %0 for this parameter) but when I debug it, the addressing mode is different - ecx has not been scaled. Can anyone enlighten me? Is this a bug? Alan ------------------------------------------------------------- | | amh15 AT cus DOT cam DOT ac DOT uk --- Work Tel: +44 223 337493 | | Alan | Fax: +44 223 337706 --- Home Tel: +44 223 244595 | | Hart | Microelectronics Research Centre, Cavendish Lab, | | | Madingley Road, Cambridge, ENGLAND. CB3 0HE | -------------------------------------------------------------