TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: Bill Birrell
date: 2004-04-21 23:14:02
subject: strlen

> This is my first attempt at gcc style inline asm, I'd
 > welcome any
 > comments...

    I'm really sorry, Jasen. I haven't studied gcc assembler.

    What does "movl $-2,eax" do? If it subtracts 2 from eax, then
it all looks ok to me, but I do not know the order of operands in your
assembler, so at best it's a guess on my part to say yea or nay. My guess
is yea. :-)

Best Wishes,
Bill.

---
* Origin: Escan BBS (2:25/200)
SEEN-BY: 633/267 270
@PATH: 25/200 108 252/110 250/501 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.