@@ -6,9 +6,9 @@ let treat_command fmt arm =
66 let code = Name. preferred_code codes in
77 let hex = Name. command_for_codes code in
88 let chars = Name. codes_to_chars code in
9- Format. fprintf fmt " %a \t %a\t %a@."
10- Name. pp_chars chars
9+ Format. fprintf fmt " 0x%a ; %a %a@."
1110 Arm_printer. pp_hex hex
11+ (Name. pp_chars ~pad: 4 ) chars
1212 Arm_printer. pp_arm arm ;
1313 (code, (hex, arm))
1414
@@ -20,15 +20,15 @@ let compare_and_print_commands fmt data descr exit =
2020 Format. fprintf fmt " %a@." Arm_printer. pp_arm arm ;
2121 aux data descr is_exit (i+ 4 )
2222 | (_ , true )::data , (_ , arm )::descr ->
23- Format. fprintf fmt " %a \t\t\t ; (altered)@." Arm_printer. pp_arm arm ;
23+ Format. fprintf fmt " %a\t\t\t ; (altered)@." Arm_printer. pp_arm arm ;
2424 aux data descr is_exit (i+ 4 )
2525 | _ , [] when not is_exit && exit <> None ->
2626 let exit = Option. get exit in
2727 Format. fprintf fmt " ; ======== EXIT CODE ========@." ;
2828 aux data (Exit. get_preferred_descr exit i |> snd) true i
2929 | (_ , true )::_ , [] -> assert false
3030 | (d , false )::data , _ ->
31- Format. fprintf fmt " %a \t\t\t ; (filler)@." Arm_printer. pp_arm (Arm. Custom d) ;
31+ Format. fprintf fmt " %a\t\t\t ; (filler)@." Arm_printer. pp_arm (Arm. Custom d) ;
3232 aux data descr is_exit (i+ 4 )
3333 in
3434 aux data descr false 0
0 commit comments