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/02 09:26
Read: times


 
#34207 - How to use software traps?
I use keil c51 and p89c51rd2.
I want to insert software traps between functions.
(for example
_nop_();
_nop_();
FunGoto0000();
and in assembly
NOP
NOP
LJMP 0000
)

Because this instructions should not be executed in right case, the mcu must be wrong when it execute the instructions in software traps. And the mcu will restart when it dose not work correctly.
The trouble is how can I put these trap instructons between functions by Keil tools?By hand?

List of 21 messages in thread
TopicAuthorDate
How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?            01/01/70 00:00      
RE: How to use software traps?Michael            01/01/70 00:00      
RE: How to use software traps?Michael            01/01/70 00:00      
RE: How to use software traps? Michael            01/01/70 00:00      
RE: How to use software traps? James            01/01/70 00:00      
RE: How to use software traps? James            01/01/70 00:00      
RE: How to use software traps? James            01/01/70 00:00      
RE: How to use software traps? James            01/01/70 00:00      
RE: How to use software traps? James            01/01/70 00:00      
RE: How to use software traps? Michael            01/01/70 00:00      
RE: How to use software traps? mehmet            01/01/70 00:00      
RE: How to use software traps? mehmet            01/01/70 00:00      
RE: How to use software traps? Steve            01/01/70 00:00      

Back to Subject List