gnupic: Stupid question


Previous by date: 11 Feb 2005 00:46:42 +0000 Re: [gnupic] Question about macros in gpasm, David Willmore
Next by date: 11 Feb 2005 00:46:42 +0000 Re: Pic18Forth 0.0.4 alpha, David McNab
Previous in thread:
Next in thread:

Subject: Stupid question
From: Adam Wozniak ####@####.####
Date: 11 Feb 2005 00:46:42 +0000
Message-Id: <Pine.LNX.4.50.0502101644210.5594-100000@remtrol.com>

I can't seem to figure out what I'm doing wrong here...

[awozniak@mauve tmp]$ gpal --version
gpal-0.13.0 pre-alpha

[awozniak@mauve tmp]$ cat p5.pal

module P5 is
        procedure main is
        begin
                null;
        end procedure;
                                                                                                                      
        procedure isr is
        begin
                null;
        end procedure;
end module;

[awozniak@mauve tmp]$ cat p5.pub

public P5 is
        pragma code_section="page";
        procedure main;
        procedure isr;
end public;

[awozniak@mauve tmp]$ gpal -p p12f675 p5.pal

p5.asm:11:Warning [205] Found directive in column 1.
p5.asm:11:Error [127] Too many arguments.
p5.asm:17:Error [152] Executable code and data must be defined in an
appropriate section.
p5.asm:18:Error [152] Executable code and data must be defined in an
appropriate section.
p5.asm:23:Error [152] Executable code and data must be defined in an
appropriate section.
p5.asm:24:Error [152] Executable code and data must be defined in an
appropriate section.

-- 
Adam Wozniak                                   Remtrol Inc.
Firmware Engineer                              141 Suburban Rd. Suite A3
                                               San Luis Obispo, CA 93401

Previous by date: 11 Feb 2005 00:46:42 +0000 Re: [gnupic] Question about macros in gpasm, David Willmore
Next by date: 11 Feb 2005 00:46:42 +0000 Re: Pic18Forth 0.0.4 alpha, David McNab
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.