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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/30/00 23:32
Read: times


 
#6859 - RE: High level interrupt
Hans & Leung
It's not too difficult to try it and verify this yourself.
The logic for doing this is as follows.

1) The address being interrrupted by the high level interrupt can be any address running a routine at the time of interrupt, which will become the return address. Is the stack the only place that records the return address and this value (the returen address) when returned too will continue exicuting the program? The answer is YES.

2) Will the cpu try to exicute any instruction after the RETI since it has no perfernce to the returned address? The answer is YES.

3) Can you also read any data already on the stack when at the high level interrupt routine? Again YES.

3) While in this routine can you pop off the entire stack in some temp memory, without problems, assuming you return it all by pushing it back on the stack without confusing the cpu? Again YES.

4) Can I then selectively change any of the data that was on the original stack, i.e. PSW or some other data for whatever reason? Again, YES.

6) If I then change the original return address to some other address, that I needed to redirect too, understanding the stack may contain other data from the original routine, will the changes made to the return address be a don't care for the cpu as far as unwinding from the RETI? The answer is YES.

7) If I then exit the high level routine after changing to a new return address with an RETI exit, will it now unwind correctly to the new return address? Absolutly, positively ......... YES.

I THEREFORE REST MY CASE. That is unless you want to appeal this to the US Supreme court. No Hans, I will not write the routine for you, nor will I count pregnant chads for AL. I only count holes with or without hanging chads. In there game, they missed the field goal try at least 3 times, now they want to move the goal posts further apart so they could win the game. I'm sorry, I think three strikes and your out. Be a sport big AL, concede or be a bigger loser than you already are. I rest my case there too. After he loses this election, I sure hope he runs again in four years. Can't wait for the AL vs. Hillary debates. He he.

I do hate to say this Hans, but my name is Al.

Post

List of 40 messages in thread
TopicAuthorDate
High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      
RE: High level interrupt            01/01/70 00:00      

Back to Subject List