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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/11/03 14:30
Read: times


 
#60436 - RE: how many second ??
Responding to: ???'s previous message
mcs 51
today there is no such thing, the variety features in derivatives is so great that if you do not specify your derivative, even the best answer will be a guess.

since you force me to assume: Assuming that you have a derivative with 128 bytes of RAM, no more no less:
CJNE R0,#07FH,START_IN ; TO AVOID STACK OVER FLOW
should be
CJNE R0,#07FH,START_IN ; TO AVOID BUFFER OVER FLOW

that would avoid buffer overflow, but when you come to the 'RET' the stack would be overwritten and you would 'return' to the 'address' of your last data.

The content of your questions make it crystal clear that you need to study "the bible" (address in links <---) specifically chapters 2 and 3 before attempting to solve your problem.

Erik

List of 15 messages in thread
TopicAuthorDate
how many second ??            01/01/70 00:00      
   RE: how many second ??            01/01/70 00:00      
      RE: how many second ??            01/01/70 00:00      
         RE: how many second ??            01/01/70 00:00      
         RE: how many second ??            01/01/70 00:00      
            RE: how many second ??            01/01/70 00:00      
               RE: how many second ??            01/01/70 00:00      
                  RE: how many second ??            01/01/70 00:00      
                  RE: how many second ??            01/01/70 00:00      
                     RE: how many second ??            01/01/70 00:00      
                     RE: how many second ??            01/01/70 00:00      
   RE: how many second ??            01/01/70 00:00      
      RE: how many second ??            01/01/70 00:00      
         RE: how many second ??            01/01/70 00:00      
   RE: how many second ??            01/01/70 00:00      

Back to Subject List