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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/05/01 16:32
Read: times


 
#9758 - RE: 8052 subroutines
Hi Siobhan,

0000H shouldn't be the origin of your code. You need to jump over the lower bytes of the code memory map to say, 100H, THEN start your code. Otherwise you trample over the interrupt vector table and make a right mess !

ORG 0000H
SJMP 100H

;Initialise the stack.
;Your code

Steve

List of 7 messages in thread
TopicAuthorDate
8052 subroutines            01/01/70 00:00      
RE: 8052 subroutines            01/01/70 00:00      
RE: 8052 subroutines            01/01/70 00:00      
RE: 8052 subroutines            01/01/70 00:00      
RE: 8052 subroutines            01/01/70 00:00      
RE: 8052 subroutines            01/01/70 00:00      
RE: 8052 subroutines            01/01/70 00:00      

Back to Subject List