[Implemented] Compiler Directive: EnableASM, DisableASM

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
horst
Enthusiast
Enthusiast
Posts: 197
Joined: Wed May 28, 2003 6:57 am
Location: Munich
Contact:

[Implemented] Compiler Directive: EnableASM, DisableASM

Post by horst »

Compiler Directive: EnableASM, DisableASM

This could be used to limit Inline ASM to a small code section, avoiding the risk of conflicts elsewhere.

And it would be possible to activate Inline ASM in a code snippet to be used as included file without forcing other users to set the general compiler option.
Horst.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

good idea. I'll second that request.
oh... and have a nice day.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

I think it has been requested before but never done. It would be a nice feature.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Good idea. Definately useful.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Added.
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 345
Joined: Sat Dec 25, 2004 2:37 pm

Post by thyphoon »

Fred wrote:Added.
Great !! :D
horst
Enthusiast
Enthusiast
Posts: 197
Joined: Wed May 28, 2003 6:57 am
Location: Munich
Contact:

Post by horst »

Fred wrote:Added.
Thanks!! I am looking forward to the next release.
Horst.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

What about about a #PB_Compiler_InlineASM feature, to detect wether InlineASM was en- or disabled?
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Post Reply