| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 10 Apr 1997 12:18:04 -0700 (PDT) |
| From: | KaRNaGE <dlydiard AT linknet DOT kitsap DOT lib DOT wa DOT us> |
| To: | djgpp AT delorie DOT com |
| Subject: | watcom asm->djgpp asm help |
| Message-ID: | <Pine.GSO.3.96.970410121408.7948A-100000@linknet.kitsap.lib.wa.us> |
| MIME-Version: | 1.0 |
i'm not sure on the watcom C inline asm syntax, so can someone convert the
folowing short inline asm statement to djgpp inline asm? thankz...
long fixed_mul(long num1, long num2);
#pragma aux fixed_mul = \
"imul edx" \
"add eax, 8000h" \
"adc edx, 0" \
"shrd eax, edx, 16" \
parm caller [eax] [edx] \
value [eax] \
modify [eax edx];
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |