Mail Archives: djgpp/1994/06/16/07:22:57
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 |
-------------------------------------------------------------
- Raw text -