Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Question about 8051 MCU programming in c and asm combined

Hello all,
I am trying to use the c macros in asm file. I have 2 different files( sample.c and macro.asm.In sample.c I have defines a macro #define NUM 5 and now I want to use this NUM in asm file.What should I do? Also tell me the way of using the asm file macro in c.
I am using keil 6.23 a51 and c51 for cygnal 8051 MCU 8051F0000.
P.S. : If in case if u know the solution for the VC i.e. windows platform normal c and asm files, just tell me.It may help me.
Thank You.


  • Justin BibJustin Bib USAMember Posts: 0

    __ { } free video tutorials and ebooks about ( Objective-C Java Visual Basic .NET R PHP Perl PL/SQL Assembly Python MATLAB C# Visual Basic Go Delphi Scratch JavaScript Ruby C++ C Swift ABAP VBScript Clojure Rust Scheme Dart F# Prolog COBOL ML Fortran Crystal SAS D Scala Bash Alice Julia FoxPro Erlang Transact-SQL Ada Awk Apex LabVIEW Logo Kotlin Lua Hack Lisp ) _

Sign In or Register to comment.