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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/03/05 07:09
Read: times


 
#84247 - Compiler-dependent
Responding to: ???'s previous message
Shahzad said:
i want to know how 8052 processor behave when it calls a function which has a signature like


This depends on the compiler you are using, not the fact that it's running on an 8052 processor. Two different 8052 compilers can pass variables to functions using different techniques.

as in the previous post i was educated that it is quite possible that if some code is running fine under KEIL Debgugger, there is no guarantee it will also work on 8052 processor because both instances are run on different plateforms (PC and 8052)


While it's true that something that works in a simulator might not always work on real hardware, that usually happens when you're dealing with time-critical issues and/or external hardware. In this case you're not doing anything but passing variables around and processing them so I would expect that if it works in the simulator that it will also work on the real hardware.

Regards,
Craig Steiner


List of 16 messages in thread
TopicAuthorDate
different data types            01/01/70 00:00      
   Compiler-dependent            01/01/70 00:00      
   True, but irrelevant            01/01/70 00:00      
      Go back to the original thread            01/01/70 00:00      
   OK, New Thread            01/01/70 00:00      
      sorry terminology            01/01/70 00:00      
         Still wrong terminology?            01/01/70 00:00      
         Wrong Target!            01/01/70 00:00      
            i am again wrong            01/01/70 00:00      
               Debugger!            01/01/70 00:00      
                  Huu,,,,            01/01/70 00:00      
   bad programming style !            01/01/70 00:00      
      Underlying problem!            01/01/70 00:00      
   Not The Problem            01/01/70 00:00      
      Re: Neil            01/01/70 00:00      
         RTFM!            01/01/70 00:00      

Back to Subject List