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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/12/05 14:24
Modified:
  03/12/05 14:25

Read: times


 
#89537 - Stop It
Responding to: ???'s previous message
Use of a software such as the RTX51 package should not be attempted by someone that does not have the experience to answer a question such as the one you asked. So STOP.

You do NOT want to try mixing C and assembler in this manner. If you must use some C then put that code in separate source file and compile it on its own. This will require reading how to use the linker.

If you have the wherewith all to get to this point and are able to actually figure out how to add assembly language to a timer interrupt function that is already in assembler then add a simple CALL to that routine to the desired C function which is in the other source file. If you cannot so this then STOP.

To be able to call the C function from the timer interrupt it is necessary for you to closely follow the rules of how this is done. The manuals for the Keil compiler give information on how to interface Assenbler to C language functions. If you are one that does not read manuals then STOP.

Michael Karas

BTW....I've been programming embedded applications for close to 30 years now on a wide variety of types of applications. Have NEVER found a need for anything even close to what RTX51 purports to be!! And then on a '51 platform it is almost rediculous!!
MJK


List of 28 messages in thread
TopicAuthorDate
Inserting C Code in between Assembly Lan            01/01/70 00:00      
   Stop It            01/01/70 00:00      
      Thank You Michael Karas            01/01/70 00:00      
         Manual            01/01/70 00:00      
         Round Robin            01/01/70 00:00      
         Rounb Robin + Time Sharing            01/01/70 00:00      
            round robin            01/01/70 00:00      
               How Long            01/01/70 00:00      
                  what to do            01/01/70 00:00      
                     OK as far as it goes.            01/01/70 00:00      
                        but            01/01/70 00:00      
                           However            01/01/70 00:00      
                              but why make it harder            01/01/70 00:00      
                                 Never Mention RTOS            01/01/70 00:00      
                        out of hand            01/01/70 00:00      
                           ?????            01/01/70 00:00      
                              nope            01/01/70 00:00      
                                 Never mentioned multitasking            01/01/70 00:00      
                           I disagree            01/01/70 00:00      
                              every rule has exceptions            01/01/70 00:00      
                                 8051 Banking versus External Components            01/01/70 00:00      
                                    agreed, but            01/01/70 00:00      
                              I agree            01/01/70 00:00      
            Time Slicing & Apology            01/01/70 00:00      
   Why RTX51?            01/01/70 00:00      
   nice quote            01/01/70 00:00      
      'easier'            01/01/70 00:00      
      Kludge            01/01/70 00:00      

Back to Subject List