This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

To have assembly code in between my C source code in ARM7TDMI microcontrollers..!

Hi,
my name is Suresh.
Iam at present working on the AT91R40008 microcontroller. Iam using the Keil compiler for the firmware coding. I want to access the ARM7DMI core registers.
i mean, i want to take the results to my hyperterminal. Iam able to display the microcontroller peripheral Registers (like EBI_, PIO_, SF_, USART_, etc). Now i also want to access ARM core Registers "R1 to R14", through my hyperterminal.
Iam not able to include assembly code inbetween my C source code.
In technical support, given by Keil. they suggest to try the #pragma to generate my *.SRC file.

but iam not able to generate the *.SRC file in uVISION3. can anyone guide me how to access the ARM core registers in my C source code. That is, i need to include some assembly code inbetween my main *.C source file. If that is happening, thn i can try out for the Core Registers...!

Thanks in Advance..!
Waiting for your earliest reply...!

regards
Suresh

0