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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/17/03 17:11
Read: times


 
#50916 - RE: promo schematic and c code
Responding to: ???'s previous message
"As far as setting hardware registers and such goes, C allows access just like assembler."

Not really.
The ANSI (or K&R) standard 'C' language provides no specific facilities to address hardware registers. This almost invariably requires some compiler- and target-specific extensions to the language; eg, in Keil you have the extended keywords like sfr, xdata, bit, etc
Borland compilers used to provide special extensions to allow access to the x86's IO Port address space.

Another area where extensions are usually required is in the handling of interrupts.

List of 31 messages in thread
TopicAuthorDate
promo schematic and c code            01/01/70 00:00      
   RE: promo schematic and c code            01/01/70 00:00      
   RE: promo schematic and c code            01/01/70 00:00      
      RE: promo schematic and c code            01/01/70 00:00      
         RE: promo schematic and c code            01/01/70 00:00      
            RE: promo schematic and c code            01/01/70 00:00      
               RE: promo schematic and c code            01/01/70 00:00      
                  RE: promo schematic and c code            01/01/70 00:00      
                     RE: promo schematic and c code            01/01/70 00:00      
                        RE: promo schematic and c code            01/01/70 00:00      
      Admission            01/01/70 00:00      
         RE: Admission            01/01/70 00:00      
            Dont go there!            01/01/70 00:00      
         RE: Admission - retraction            01/01/70 00:00      
            RE: Admission - retraction            01/01/70 00:00      
      RE: promo schematic and c code            01/01/70 00:00      
   RE: promo schematic and c code            01/01/70 00:00      
      RE: promo schematic and c code            01/01/70 00:00      
         RE: promo schematic and c code            01/01/70 00:00      
            how to start            01/01/70 00:00      
               RE: how to start            01/01/70 00:00      
                  RE: how to start            01/01/70 00:00      
                     This book...            01/01/70 00:00      
                     RE: how to start            01/01/70 00:00      
                     Listen!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!            01/01/70 00:00      
                        RE: Listen!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!            01/01/70 00:00      
                           RE: Listen!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!            01/01/70 00:00      
                     RE: how to start            01/01/70 00:00      
   RE: promo schematic and c code            01/01/70 00:00      
      RE: words            01/01/70 00:00      
      RE: promo schematic and c code            01/01/70 00:00      

Back to Subject List