Using embedded assembly with Keil micro vision

Question: What is the syntax to follow to enable coding in Embedded assembly with the Keil micro vision tools?



The syntax is as follows:

#pragma asm
#pragma endasm

You also need to set the following in the microvision project:
(1) Enable the option for allowing the use of embedded assembly. Under the Project Menu go to "Options for Target 'Target1'"  click on the listings file and check the box for Assembly code.
(2) Right Click on the "Source Group 1" directory  in the project directory and Under "Properties" tab check the option for "Generate Assembler SRC file".