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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/29/03 10:08
Read: times


 
#37625 - RE: register protection in 8051
Why you start your code at 000bh?
You must do something like:

org reset ;0000h
ljmp main_program
org int_1 ;(may be 000bh)
ljmp interr_1
org int_2
ljmp interr_2
...

org 0100h ;or other free mem
main_program:
...



interr_1:
...

interr_2:
....

Is a good thing to program all interrupt vectors even if they are not used and point to an "non desired interrupt routine"

List of 13 messages in thread
TopicAuthorDate
register protection in 8051            01/01/70 00:00      
   RE: register protection in 8051            01/01/70 00:00      
RE: register protection in 8051            01/01/70 00:00      
   RE: register protection in 8051            01/01/70 00:00      
      RE: register protection in 8051            01/01/70 00:00      
         RE: register protection in 8051            01/01/70 00:00      
            RE: register protection in 8051            01/01/70 00:00      
RE: register protection in 8051            01/01/70 00:00      
RE: register protection in 8051            01/01/70 00:00      
RE: register protection in 8051            01/01/70 00:00      
RE: register protection in 8051            01/01/70 00:00      
RE: register protection in 8051            01/01/70 00:00      
   RE: register protection in 8051            01/01/70 00:00      

Back to Subject List