fn gen_formats(formats: &[Rc<InstructionFormat>], fmt: &mut Formatter)
Generate an instruction format enumeration.