Adding support for new driver files - converting from assembly to C++