We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
here are few questions which are troubling me.. kindly help...
1) Why should we always start 8051 program with the following piece of code? (starting code) org 0h ljmp 8000h org 8000h
2) since the address location 0000h is eprom.. we cant save data on that address.. then where is the starting code(above said code) saved??
3)what happens if we remove starting code and end statement in the end of program??
4) why only direct addressing is alllowed for push and pop instruction....
waiting for answers....
The memory Map of the 8052 look something like this:
0000 - Reset Vector ----- Interupt Vector ----- Interupt Vector ----- Interupt Vector ----- Interupt Vector...
The Long jump skips over the interupt vectors. Why to 8000? I do not know. This is not required by the 8052.