IR code help

Look at this for an hint of IR code

http://www.eng.utah.edu/~cs1410/Labs/lab09.html