I have a very simple program: void main(void) { #pragma asm inc a #pragma endasm } If I compile it as it is I get: error C272: 'asm/endasm' requires src-control to be active. So to fix it, I add: #pragma src to the top of the file. However, this introduces a new error: C51 FATAL-ERROR - ACTION: PARSING INVOKE-/#PRAGMA-LINE LINE: #pragma SRC ERROR: RESPECIFIED OR CONFLICTING CONTROL I've tried adjusting the options for the source file to generate assembler SRC file and assemble SRC file but to no avail. Can anyone tell me what I'm doing wrong? Al.