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

Back to Subject List

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


 
#65739 - How does ORG command work?
Dear All:

My prom space is from 0~FFFF(64K).

I only want to keep CPU initialization part in lower 32k address, I hope I can put all my application to upper 32K address.

So what i did :
1.cseg at 0000h interrupt vector
2.cseg at 0100h, start
3. initialize CPU.

4. ORG 8000h
mainloop:
ljmp mainloop


what I want to do is to put mainloop and all the subroutines included in mainloop to upper 32K address.
but it didn't work.

tell me why.
Thanks.
Frank



List of 13 messages in thread
TopicAuthorDate
How does ORG command work?            01/01/70 00:00      
   RE: How does ORG command work?            01/01/70 00:00      
   RE: didnt work            01/01/70 00:00      
   RE: How does ORG command work?            01/01/70 00:00      
      You mean uPSD3234A?            01/01/70 00:00      
         RE: You mean uPSD3234A?            01/01/70 00:00      
   RE: How does ORG command work?            01/01/70 00:00      
      RE: How does ORG command work?            01/01/70 00:00      
      RE: How does ORG command work?            01/01/70 00:00      
         RE: How does ORG command work?            01/01/70 00:00      
            RE: The beloved Keil C51/A51            01/01/70 00:00      
               RE: The beloved Keil C51/A51            01/01/70 00:00      
                  RE: The beloved Keil C51/A51            01/01/70 00:00      

Back to Subject List