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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/10/02 14:43
Read: times


 
#24216 - Keil Startup Code.
When I start up my procesor, the first instruction that must execute is "setb 0x94" At location C:0000. I am using keil compiler
which places a LJMP as the first instruction. Does anyone know how i can change the location of this LJMP or how i can get setb 0x94 as my first instruction. I have the follow code below but it causes a code space overlap.

PROG SEGMENT CODE


CSEG AT 0
USING 0 ; Register-Bank 0
; Execution starts at address 0 on power-up.
JMP START

RSEG PROG
; first set Stack Pointer
START: setb 0x94

END



List of 11 messages in thread
TopicAuthorDate
Keil Startup Code.            01/01/70 00:00      
RE: Keil Startup Code.            01/01/70 00:00      
RE: Keil Startup Code./ Erik            01/01/70 00:00      
Keil Update            01/01/70 00:00      
RE: P1 on Reset            01/01/70 00:00      
RE: Keil Update            01/01/70 00:00      
Thank You,            01/01/70 00:00      
RE: Keil Startup Code./ Erik            01/01/70 00:00      
RE: Keil Startup Code./ Erik            01/01/70 00:00      
RE: Keil Startup Code.            01/01/70 00:00      
RE: Keil Startup Code.            01/01/70 00:00      

Back to Subject List