Discussion Forum

assembly in c source code

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Ashok patil
Posted
7-Sep-2001 05:52 GMT
Toolset
C51
New! assembly in c source code
I would like to know if the following syntax is possible:-

c source code.....
........
#pragma asm
assembly code .....
......
.....
#pragma endasm

c source code...
....

if this is not possible then what could be the other format to solve this.

Read-Only
Author
Andrew Neil
Posted
7-Sep-2001 09:13 GMT
Toolset
C51
New! RE: assembly in c source code
Read the sections on the ASM/ENDASM and SRC directives, and Interfacing C Programs to Assembler (Chapter 6) in the C51 User's Guide (C51.pdf).

All the manuals are accessible via the 'Books' tab in the uVision Project Window

Search this forum, as this is a very Frequently Asked Question!

Next Thread | Thread List | Previous Thread Start a Thread | Settings