11.07.2015 Views

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PICBASIC</strong> <strong>PLUS</strong> Compiler5.44. ORGSyntax :Overview :Operators :Example :ORG ValueSet the program origin for subsequent code at the address defined inValueValue can be any constant value within the range of the particularPICmicro’s memory.DEVICE 16F877ORG 2000 ‘ Set the origin to address 2000CDATA 120 , 243 , ”Hello” ‘ Place data starting at address 2000orSYMBOL Address = 2000ORG Address + 1 ‘ Set the origin to address 2001CDATA 120 , 243 , ”Hello” ‘ Place data starting at address 2001Notes :If more complex values are required after the ORG directive, such asassembler variables etc. Use : -@ ORG { assembler variables etc }See CDATA for an alternative method for locating the address of aCDATA table.86Copyright Crownhill 2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!