Please ignore this mail. I was doing something wrong.
 
Regards
Sanjiv
-----Original Message-----
From: Sanjiv Kumar Gupta, Noida
Sent: Wednesday, July 24, 2002 3:34 PM
To: sdcc-devel@lists.sourceforge.net
Subject: [sdcc-devel] global = literal

Hi,
 
For the following simple code snippet
 
void bar (int);
long gl;
foo ()
{
    gl = 4;
    bar (gl);
}
 
the iCode generated is
 
iTemp {long int }[r5 r4 ] := 0xfffffffb {char }
_gl {long int} := iTemp
 
 
I could not understand from why 1's complement of 4 i.e. 0xfffffffb  is being used here. help please.
 
Thanks in advance.
Sanjiv