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

Back to Subject List

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


 
#46307 - RE: Integer Promotion Rules
Responding to: ???'s previous message
"I imagine the actual integer promotion rules are compiler dependent..."

I don't think so; I think the rules are defined by the ANSI (now ISO) standard - that's why Keil calls it "ANSI Integer Promotion" (my emphasis).

I haven't read the ANSI Standard (either), and I don't have my K&R to hand at the moment, but this is my understanding of the situation!

BTW: Disabling the Promotions in Keil certainly does make a noticeable difference to code size, but will break code that relies upon the rules! (this is most likely to be significant with bought-in code; eg, protocol stacks...)

List of 32 messages in thread
TopicAuthorDate
8-bit*16-bit multiplication            01/01/70 00:00      
   RE: 8-bit*16-bit multiplication            01/01/70 00:00      
   RE: 8-bit*16-bit multiplication            01/01/70 00:00      
      RE: Integer Promotion Rules            01/01/70 00:00      
   RE: 8-bit*16-bit multiplication            01/01/70 00:00      
      RE: 8-bit*16-bit multiplication            01/01/70 00:00      
      RE: 8-bit*16-bit multiplication            01/01/70 00:00      
         RE: 8-bit*16-bit multiplication            01/01/70 00:00      
            RE: 8-bit*16-bit multiplication            01/01/70 00:00      
               RE: 8-bit*16-bit multiplication            01/01/70 00:00      
                  RE: 8-bit*16-bit multiplication            01/01/70 00:00      
                     RE: 8-bit*16-bit multiplication            01/01/70 00:00      
                        RE: 8-bit*16-bit multiplication            01/01/70 00:00      
                        RE: 8-bit*16-bit multiplication            01/01/70 00:00      
                           RE: 8-bit*16-bit multiplication            01/01/70 00:00      
   RE: 8-bit*16-bit multiplication            01/01/70 00:00      
   RE: 8-bit*16-bit multiplication            01/01/70 00:00      
      RE: 8-bit*16-bit multiplication            01/01/70 00:00      
   RE: 8-bit*16-bit multiplication            01/01/70 00:00      
      RE: 8-bit*16-bit multiplication            01/01/70 00:00      
   RE: 8-bit*16-bit multiplication            01/01/70 00:00      
      RE: 8-bit*16-bit multiplication            01/01/70 00:00      
         RE: 8-bit*16-bit multiplication            01/01/70 00:00      
            RE: 8-bit*16-bit multiplication            01/01/70 00:00      
               MY project Details            01/01/70 00:00      
                  RE: MY project Details            01/01/70 00:00      
                     RE: MY project Details            01/01/70 00:00      
                        RE: MY project Details            01/01/70 00:00      
                           RE: MY project Details            01/01/70 00:00      
                           RE: MY project Details            01/01/70 00:00      
                           RE: MY project Details            01/01/70 00:00      
                              RE: MY project Details            01/01/70 00:00      

Back to Subject List