Convert D3_DR_A.ASM and D3_DR_A2.ASM to C