Path: chuka.playstation.co.uk!news From: "Carlos Pieterse" Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Inline Assembler: ? Date: Sat, 12 Sep 1998 17:14:11 +0200 Organization: PlayStation Net Yaroze (SCEE) Lines: 32 Message-ID: <6te334$45l1@chuka.playstation.co.uk> NNTP-Posting-Host: p301-065.ppp.get2net.dk X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hi, It seems that you with gnu can do inline assembler like this: __asm__ (" lw $8,var ror $8,$8,5 li $9,1 add $8,$8,$9 li $9,0x0000001F and $8,$8,$9 rol $8,$8,5 sw $8,var "); Which is far easier (nicer) than doing: __asm__("lw $8,var"); __asm__("ror $8,$8,5"); ...etc Anyway, my question is : Does anyone know of a way to (un)comment certain lines, when you do assembler like that ? ( ; doesn't seem to work!) Thanks, Carlos Pieterse