DEVICE DRIVER AND COMPILER DESIGN - C Codes