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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/24/05 17:39
Read: times


 
#85679 - Adjust-a-Stack Jump
Responding to: ???'s previous message
mov sp,#__Istack ; 
mov dptr,#_DSPvChamada; 
push dpl ; 
push dph ; 
reti ; 

Well, the code seems to be setting the Stack Pointer (SP) using __Istack, then pushing _DSPvChamada onto the stack.
Then it does a RETI.

Is this some sort of nasty multitasking?

The name of the label is suspicious: "_ASMvAjustaStackJmp" - sounds like Adjust-a-Stack Jump; ie, mess with the Stack, then jump off into oblivion...

Looks like a case of, "If you need to ask the question, you shouldn't be messing with this!"

Where did you get this code?
Can't you contact the author/supplier?


List of 4 messages in thread
TopicAuthorDate
about the function __Istack            01/01/70 00:00      
   More details?            01/01/70 00:00      
   about the function __Istack            01/01/70 00:00      
      Adjust-a-Stack Jump            01/01/70 00:00      

Back to Subject List