# This is a description of the wimp interface for ARMalyser

tool_details_start
   name          "ARMalyser";
   command_is    "<ARMalyser$Dir>.ARMalyser";
   version       "0.67 (03-Oct-2021)";
   wimpslot      1280k;
   has_extended_cmdline;
tool_details_end


metaoptions_start
   has_auto_run;
   has_auto_save     "Analysis" from icn 3;
   has_text_window;
   has_summary_window;
   display_dft_is text;
metaoptions_end


fileoutput_start
   output_option_is "-o";
   output_dft_string "Analysis";
   output_dft_is produces_no_output;
fileoutput_end


dbox_start
   icons_start
      icn 3  maps_to string  not_saved;
      icn 6  maps_to "-v";
      icn 7  maps_to "-d";
      icn 8  maps_to "-a";
      icn 9  maps_to "-s";
      icn 12 maps_to "-pt" produces_output;
      icn 13 maps_to "-ph" produces_output;
      icn 14 maps_to "-px" produces_output;
      icn 15 maps_to "-p " followed_by icn 16 produces_output;
      icn 16 maps_to string;
   icons_end

   defaults
      icn 3  "",
      icn 6  on,
      icn 7  on,
      icn 8  off,
      icn 9  on,
      icn 12 off,
      icn 13 off,
      icn 14 off,
      icn 15 off,
      icn 16 "";

   imports_start
      drag_to icn 3   inserts icn 3;
      drag_to icn 16  inserts icn 16;
      drag_to any     inserts icn 3;
      drag_to iconbar inserts icn 3;
   imports_end
dbox_end

menu_start
   "Force APCS register names"      maps_to "-ra";
   "Force standard register names"  maps_to "-rr";
   "Target ARM7"                    maps_to "-t ARM7";
   "Target ARM9"                    maps_to "-t ARM9";
   "Target StrongARM"               maps_to "-t StrongARM";
   "Target XScale"                  maps_to "-t XScale";
   "List Symbols"                   maps_to "-ls";
   "Trace code analysis"            maps_to "" sub_menu "Address" 8 prefix_by " -xc ";
   "Trace data analysis"            maps_to "" sub_menu "Address" 8 prefix_by " -xd ";
   "Trace register analysis"        maps_to "-xr";

   defaults
      menu 1 off,
      menu 2 off,
      menu 3 off,
      menu 4 off,
      menu 5 off,
      menu 6 off,
      menu 7 off,
      menu 8 off,
      menu 9 off,
      menu 10 off;
menu_end

deselections_start
      icn 12 deselects icn 13, icn 14, icn 15;
      icn 13 deselects icn 12, icn 14, icn 15;
      icn 14 deselects icn 12, icn 13, icn 15;
      icn 15 deselects icn 12, icn 13, icn 14;
      menu 1 deselects menu 2;
      menu 2 deselects menu 1;
      menu 3 deselects menu 4, menu 5, menu 6;
      menu 4 deselects menu 3, menu 5, menu 6;
      menu 5 deselects menu 3, menu 4, menu 6;
      menu 6 deselects menu 3, menu 4, menu 5;
deselections_end

order_is icn 6, icn 7, icn 8, icn 9, icn 12, icn 13, icn 14, icn 15, menu 1, menu 2, menu 3, menu 4, menu 5, menu 6, menu 7, menu 8, menu 9, menu 10, icn 3, output;







