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

Back to Subject List

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


 
#85812 - all code is pure !
Responding to: ???'s previous message
In general all 8051 code is pure, since there is no way to alter code on the 8051.

On some 8051 it is possible to alter code Flash, but it has no practical meaning except for downloading a new program, since it is very time expensive.

And in general most 8051 code is not reentrant, because saving of data memory.
But on the Keil C51 a special keyword exist to define reentrant functions, if you need it and can tolerate gulping of data SRAM.


Thus you can see, that "pure" and "reentrant" are fully different terms.


Peter


List of 21 messages in thread
TopicAuthorDate
Pure Code            01/01/70 00:00      
   Pure Code            01/01/70 00:00      
   Pure Code            01/01/70 00:00      
      Impure code?            01/01/70 00:00      
      Pure Code            01/01/70 00:00      
         do not use the wrong processor            01/01/70 00:00      
         Awash with Pure Code examples!            01/01/70 00:00      
   Does this term have any general meaning?            01/01/70 00:00      
      Does this term have any general meaning?            01/01/70 00:00      
         OK, so what is your question?            01/01/70 00:00      
            My question            01/01/70 00:00      
               all code is pure !            01/01/70 00:00      
               To put it the opposite way,...            01/01/70 00:00      
                  Mel            01/01/70 00:00      
               applications in which we can use this            01/01/70 00:00      
               applications in which we can use this            01/01/70 00:00      
   Pure Logic            01/01/70 00:00      
   Not "Pure Code", Pure code            01/01/70 00:00      
      no local variables            01/01/70 00:00      
         Some did in the past            01/01/70 00:00      
      Nothing Special            01/01/70 00:00      

Back to Subject List