added NOMASM macro to disable inline asm