Mikroelektronika MIKROE-724 データシート
146
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
sub procedure proc(dim par as word) org 0x200
‘ Procedure will start at the address 0x200;
...
end sub
org
directive can be used with
main
routine too. For example:
program Led_Blinking
main: org 0x800 ‘ main procedure starts at 0x800
...
end
Directive orgall
Use the
orgall
directive to specify the address above which all routines and constants will be placed. Example:
main:
orgall(0x200) ‘ All the routines, constants in main program will be above the address
0x200
...
end.