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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/14/01 04:07
Read: times


 
#13205 - RE: ORG
ORG directive is to inform the linker where we want the code be located
when download the code to the lovely micro chip.

Suppose your micro chip always execute the first instruction in 0000h code memory. Then in your source file, you should put :
org 0000h before the first instruction. Otherwise, the linker will just simply choose an absolute address for you.
hope this may help.

thanks

List of 5 messages in thread
TopicAuthorDate
ORG            01/01/70 00:00      
RE: ORG            01/01/70 00:00      
RE: ORG            01/01/70 00:00      
RE: ORG            01/01/70 00:00      
RE: ORG            01/01/70 00:00      

Back to Subject List