read image and send to display via pipe, written in assembly