On the manual of C51 v3.2, writing and using assembly functions are described and is working successfully. However, there is no clue about the inline assembly on the manual. Does anybody know anything about inline assembly for v3.20? I tried below but compiler issued error messages for these lines:
#pragma asm CLR C #pragma endasm
*** WARNING 245 IN LINE 309 OF LCD.C: unknown #pragma, line ignored *** ERROR 202 IN LINE 310 OF LCD.C: 'CLR': undefined identifier *** ERROR 141 IN LINE 310 OF LCD.C: syntax error near 'C' *** WARNING 245 IN LINE 311 OF LCD.C: unknown #pragma, line ignored
This is listed as one of the differences between v6 and v3.2
Inline assembly was not available in V3.2. Jon
thanks for your kind replies.