Implemented A4-4 code gen sample.