Programming langugae: assembly
Processor: PIC16
I wrote a macro at the beginning of a program, so that I can use it in the 'main' routine. Does anyone know how (where) the assembler allocates space in the program memory for a macro?
Basically the structure of my program is as follows
Thanks
Processor: PIC16
I wrote a macro at the beginning of a program, so that I can use it in the 'main' routine. Does anyone know how (where) the assembler allocates space in the program memory for a macro?
Basically the structure of my program is as follows
Code:
; Variable definitions here
Foo macro x,y
;....
endm
org 0x000
goto main
org 0x004
; ISR
main:
Foo A,B
; remaining code here
end
Last edited: