def function_call(self, function, arguments):
<EOL>for arg in arguments:<EOL><INDENT>self.push(self.symbol(arg))<EOL>self.free_if_register(arg)<EOL><DEDENT>self.newline_text("<STR_LIT>"+self.symtab.get_name(function), True)<EOL>args = self.symtab.get_attribute(function)<EOL>if args > <NUM_LIT:0>:<EOL><INDENT>args_space = self.symtab.insert_constant("<STR_LIT>".format(args * <NUM_LIT:4>), SharedData.TYPES.UNSIGNED)<EOL>self.arithmetic("<STR_LIT:+>", "<STR_LIT>", args_space, "<STR_LIT>")<EOL><DEDENT>
Generates code for a function call
           function - function index in symbol table
           arguments - list of arguments (indexes in symbol table)