gnupic: Questions about SDCC PIC code gen


Previous by date: 22 Oct 2002 01:41:47 -0000 Re: GPSIM fonts hassle., Ralf Forsberg
Next by date: 22 Oct 2002 01:41:47 -0000 Re: Questions about SDCC PIC code gen, matt
Previous in thread:
Next in thread: 22 Oct 2002 01:41:47 -0000 Re: Questions about SDCC PIC code gen, matt

Subject: Questions about SDCC PIC code gen
From: Rick Mann ####@####.####
Date: 22 Oct 2002 01:41:47 -0000
Message-Id: <B9D9F845.E727%rmann@latencyzero.com>

Hi. I just built and am trying to learn to use SDCC to develop PIC code. I
tried to write the following code:

do {
    GIE = 0;
} while (GIE != 0);

to match the assembly I had written before.

The generated assembly looks like this:

; GIE = 0;
    BCF     (_GIE >> 3), (_GIE & 7)
    BSF     _STATUS,5


That doesn't seem to be what I was asking for. Is this due to the incomplete
support for the PIC, or am I missing something else?

TIA,

-- 
Rick


Previous by date: 22 Oct 2002 01:41:47 -0000 Re: GPSIM fonts hassle., Ralf Forsberg
Next by date: 22 Oct 2002 01:41:47 -0000 Re: Questions about SDCC PIC code gen, matt
Previous in thread:
Next in thread: 22 Oct 2002 01:41:47 -0000 Re: Questions about SDCC PIC code gen, matt


Powered by ezmlm-browse 0.20.