Created a mechanism to output the IR code to output.pas