C (163/257)

From:
Date:18 Feb 2001 at 15:29:21
Subject:Inline ASM in StormC 3

Hi Everybody,

How can I have inline ASM functions in Storm3, without needing an
external object.

I've been recomended to change my existing copy routine

b[0]=fx[b[0]<<8 + a[0]]

to this "faster" asm routine:

move.w (a1),d6
move.b (a2)+,d6
move.b (a5,d6.l),(a1)+

But I'm not sure how have that withough needing to create a seperate
object, which'd be inconvenient with all the loop unrolling I've done
to the code.

Either that, or is there anything I could do to my C code to make it
faster, as at the moment it's quite slow

See ya :)



Manta Soft - Amiga programming & webpage designing
http://mantasoft.tripod.com/ ICQ: 21829166
Homepage updated 22/05/00 - New game: Pictris released
- ------------------- Quote of the day: -------------------- -
Q: What is brown and sticky?
A: A stick.

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/982506566/
---------------------------------------------------------------------_->