IPB

Welcome Guest ( Log In | Register )

> Turn Off Asm Optimizations, possible?
Thompson
post Nov 11 2007, 09:25 AM
Post #1


Newbrie


Group: EstablishedMember
Posts: 7
Joined: 16-October 07
Member No.: 3,850



Hi guys,

I'm curious if it is possible to turn off all the optimizations within the ASM code.
Well, i need to make some very time paced routines that jump into different tables and output it on different pins.
But now BoostC compiles in my ASM code all the different bank switching instructions.

Does anybody know if it is possible to turn off all the optimizations?
(off course then you have to know exactly what you're doing!)
Otherwise it would be a neat enhancement.

Btw: The "goto $+1" seem very stupid for a c compiler, but it would be neat if that's possible somehow.
I even tried
CODE
_asm{
  goto label
  label:
}

Regards,
Thomas
update SourceBoost release 6.97 is available.
Download Now
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Pavel
post Nov 11 2007, 09:57 AM
Post #2


Super Maniac
*****

Group: Administrators
Posts: 1,211
Joined: 6-July 04
From: Melbourne, Australia
Member No.: 424



Use:

CODE
asm{
  goto label
  label:
}



Regards,
Pavel
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 3rd September 2010 - 02:48 PM