Why does it use sections anyways? This is very frustrating. Here is how I defined the variables so far. Most of them are used by the void IK(void) function.
#pragma udata access my_access
near float tempIK1,tempIK2,tempIK3;
near float leg,m,n,X,Y,Z;
near unsigned int Hip_Height; //Hip joint height
near unsigned int Body_Height; //bottom chassis clearance
near float Tmp_Angle,HipH_Angle,HipV_Angle,Knee_Angle;
near float Ltotal,l,ltemp;
#pragma romdata
rom unsigned float Femur_L = 57;
rom unsigned float Tibia_L = 143;
rom unsigned float Hip_L = 28;
#pragma code
void IK(void)
{
//IK trig equations
}