Actually support writing toggleperfectpitch to asm