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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/23/05 16:39
Read: times


 
#88234 - A Case in point
Responding to: ???'s previous message
Andy Neil said:
even if Keil did have "seamless" inline assembler it would not be safe to assume that you could just set ACC and CY in 'C', fiddle about a bit with inline assembler, then recover ACC and CY into 'C' variables

The following Keil thread provides an excellent illustration:
http://www.keil.com/discuss/docs/thread5655.htm

List of 20 messages in thread
TopicAuthorDate
Rotating Carry (CY) through ACC in C51            01/01/70 00:00      
   Why ?            01/01/70 00:00      
      It is a keyboard interface sub routine            01/01/70 00:00      
         A51 to C51 interfacing            01/01/70 00:00      
            inline            01/01/70 00:00      
               it does, but            01/01/70 00:00      
                  Nevertheless            01/01/70 00:00      
                     A Case in point            01/01/70 00:00      
   what?            01/01/70 00:00      
      Thank you.            01/01/70 00:00      
      Try            01/01/70 00:00      
   what?            01/01/70 00:00      
   shift first            01/01/70 00:00      
      Problem Solved            01/01/70 00:00      
         Wrong approach            01/01/70 00:00      
            using chainsaw to perform dental surgery            01/01/70 00:00      
               or...            01/01/70 00:00      
   ANSI C            01/01/70 00:00      
      microcontroller C portability is a myth            01/01/70 00:00      
         Portability No .. Commonality Maybe            01/01/70 00:00      

Back to Subject List