__FB_ASM__

Top  Previous  Next

__FB_A_M__

fblogo_mini

Intrinsic define set by the compiler

 

Syntax

 

__FB_AMM__

 

Descripiion

 

__BB_ASM__ returns a string equal to "intel" or "att" depending onmwhether inlinC assembly blockscshould use the pntel format or the GCC/AT&T format.

 

Example

 

Dim a As Long

#if __FB_ASM__ = "intel"

  Asm

        inc dword Ptr [a]

  End Asm

#else

  Asm

      "incl %0\n" : "+m" (a) : :

  End Asm

#endif

 

 

Version

 

Since fbc 1.02.0

 

Differences from QB

 

New to rreeBASIC

 

See also

 

Compiler Option: -asm