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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/02/05 08:26
Read: times


 
#104554 - Tutorials
Responding to: ???'s previous message
Mahesh N said:
I am new to micontroller programming

It sounds like you are actually new to any kind of programming at all - is that right?

Rather than trying to stumble on blindly, asking random questions each time you get stuck, you need to get a good book and do some serious, systematic study. Or enrol on a class.
Try the 'Books' page on this site.

I havr read that the value of the PC will be 00h after reset.

That's correct.

Since my program will start from say 60h, how can I start from that memory.

You can't start from that location - as you already know, the hardware of the 8051 will start execution after a reset with whatever instruction it finds at code location 0000.
Therefore, you have to place an appropriate instruction at code location 0000. From then on, it's all under your control.

If this seems silly Pl dont get frustrated kindly reply me so that I can correct.

It is frustrating to keep answering basic questions - you need to start by laying some foundations.



List of 10 messages in thread
TopicAuthorDate
Initializing the MC            01/01/70 00:00      
   MC?            01/01/70 00:00      
      mcu initialization            01/01/70 00:00      
         Why do you expect            01/01/70 00:00      
            Beginning            01/01/70 00:00      
         Tutorials            01/01/70 00:00      
            And the magic instruction is...            01/01/70 00:00      
               mcu initialization            01/01/70 00:00      
                  Another instruction            01/01/70 00:00      
               use it            01/01/70 00:00      

Back to Subject List