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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/25/04 09:07
Read: times


 
Msg Score: -1
 -1 Non-Specific question
#76385 - problem in parameter retrieval
hi
I am facing a problem in parameters retrieval. I call a function of assembly from C.I pass a struct pointer in the parameter.I am using the Small model.
Parameter are stored at the fixed memory location which is ?functionname?BYTE how can i use this parameters in assembly.
I want to initalize the DPTR with the function pointer passed in the parameter.
if i use instruction
mov DPL,R2
mov DPH,R1
then this is not working i also uses these instruction
mov DPTR,?functioname?BYTE
this generate a syntax error.
Your kind help will be most appreciable.

regards
Farhan Arshad


List of 9 messages in thread
TopicAuthorDate
problem in parameter retrieval            01/01/70 00:00      
   What compiler ??            01/01/70 00:00      
   RE: problem in parameter retrieval            01/01/70 00:00      
      RE: problem in parameter retrieval            01/01/70 00:00      
         RE: problem in parameter retrieval            01/01/70 00:00      
         RE: problem in parameter retrieval            01/01/70 00:00      
   RE: problem in parameter retrieval            01/01/70 00:00      
      RE: problem in parameter retrieval            01/01/70 00:00      
         RE: problem in parameter retrieval            01/01/70 00:00      

Back to Subject List