View Single Post
  #30   Report Post  
Posted to alt.binaries.schematics.electronic
ian field ian field is offline
external usenet poster
 
Posts: 396
Default MPLAB programmer interface.


"John Ferrell" wrote in message
...


One thing I don't get, in a programming example they show multiple
iterations of the ORG instruction, that doesn't match the explanation of
ORG
I got elsewhere.

Assembler languages allow such flexibility and it can be handy for
coding close to the hardware.

The ORG specifies where in the program storage the following code is
to be stored.


The tutorial I'm reading doesn't explain the reason for an ORG at 0 and a
further 2 more for reset & interrupt vectors, before I try coding a program
for myself I'd like to understand the rules and all the tutorials I've found
just give example code in wildly differing layouts without any explanation
of why its done the way it is.