Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

8051 linking

  • 29-04-2005 10:42am
    #1
    Registered Users, Registered Users 2 Posts: 17,708 ✭✭✭✭


    Im using keil uVision (microvision) to program an 8051 board. Is there any way of linking C and assembly for the 8051 instructions? Its not as easy as creating functions in assembly and calling them from C, like 80x86 programming. If there is a way of doing it, what should I look out for?


Comments

  • Registered Users, Registered Users 2 Posts: 1,391 ✭✭✭fatherdougalmag


    Have you tried using inline assembly with your C code?


  • Registered Users, Registered Users 2 Posts: 17,708 ✭✭✭✭Mr. CooL ICE


    Yes, that was the first thing that I tried and it gave me a ton of error messages (including something about SRC-control). I checked the Keil site and it didnt give examples of inline assembly, but it gave instructions on enabling SRC-control which didnt work for me.


Advertisement