You are here

Using embedded assembly with Keil micro vision | Cypress Semiconductor

Support & Community

Using embedded assembly with Keil micro vision

Last Updated: January 01, 2012

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".

Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type