public void Functioncall(String fname){
	         // System.out.println("Current register is "+current_register); 
	            AddOperation("PUSH",CString("T",current_register),"","");
	            //AddOperation("PUSH",CString("T",0),"","");
	            //AddOperation("PUSH",CString("T",1),"","");
	            //AddOperation("PUSH",CString("T",2),"","");
	            //AddOperation("PUSH",CString("T",3),"","");
	            AddOperation("JSR",fname,"","");
	            //AddOperation("POP",CString("T",3),"","");
	            //AddOperation("POP",CString("T",2),"","");
	            //AddOperation("POP",CString("T",1),"","");
	            //AddOperation("POP",CString("T",0),"","");
	            int i = 0;
	            for(i=0;i<Functiontable.get(fname).Pcount;i++){
	                  AddOperation("POP","","","");
	            }
	           
	            if(!Functiontable.get(fname).F_type.equals("VOID")){
	                 
	                  if(Functiontable.get(fname).F_type.equals("INT")){
	                        TypeTable.put(current_register,"INT");
	                  }else{
	                         TypeTable.put(current_register,"FLOAT");
	                  }
	                  current_register++;
	                  AddOperation("POP",CString("T",current_register),"","");
	                  opstack.push(CString("T",current_register));
	            }else{
	                  AddOperation("POP","","","");
	            }
	            funct_call=1;
	           
	      }