Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/22/99 14:06
Read: times


 
#996 - How to pass parameter from C to Assembler
Hello,

I am using C51 and a51 (Keil). I get a problem in the merging of the
two types of programs :
-> I wonder how to pass a parameter from a C program toward assembler program :

- In the C-File
extern WR_CAR(unsigned char value);
the call : WR_CAR("A");

- In the Assembler_File
Public RD_CAR
RD_CAR : how to use the variable value
; defiinition of the routine

Thanks for an amswer.
How to precise to link the variable value and the assembler program ?




List of 3 messages in thread
TopicAuthorDate
How to pass parameter from C to Assembler            01/01/70 00:00      
RE: How to pass parameter from C to Assembler            01/01/70 00:00      
RE: How to pass parameter from C to Assembler            01/01/70 00:00      

Back to Subject List