port zacc to c89