Asg 2(object code generation)