| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 13 May 1998 16:00:00 +0200 (CEST) |
| From: | Archee/CoNTRACT <01dsolt AT vpg DOT hu> |
| To: | QBallLives <qballlives AT aol DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | RE:INLINE ASM IN DJGPP |
| In-Reply-To: | <1998051223031100.TAA20195@ladder03.news.aol.com> |
| Message-ID: | <Pine.LNX.3.96.980513155828.650D-100000@Vpg16.vpg.hu> |
| MIME-Version: | 1.0 |
>
>
> __asm__ __volatile__(
>
> "movl $99,%ebx\n\t"
> "shll $8,%ebx\n\t"
> "movl %ebx,%eax\n\t"
> "shrl $2,%ebx\n\t"
> [...]
hi !
It will be much easier to type:
__asm__ ("
movl $99,%ebx
shll $8,%ebx
.......
");
Then you dont need extra sux characters at the endofline.
Archee
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |