b-1 appendix b - using arctools computer architecture and organization by m. murdocca and v. heuring...
TRANSCRIPT
B-1 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Computer Architecture and Organization
Miles Murdocca and Vincent Heuring
Appendix B – Using ARCTools
B-2 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Chapter Contents
B.1 Introduction
B.2 Accessing and Launching ARCTools
B.3 The ARC Assembler
B.4 The ARC Simulator
B.5 Instructions and Pseudo Instructions Recognized by ARCTools
B.6 The Macroprocessor
B.7 Measuring Program Performance
B-3 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Using ARCTools
The ARCTools toolset includes the following features:
• An integrated assembler and simulator for the ARC ISA.
• Extensions to the ISA described in Chapter 4 with several additional actual and synthetic instructions.
• A trap mechanism.
• A simple macroprocessing facility.
• Ability to specify instruction timings.
• A multi-level cache memory simulator.
• A number of example programs showing the features of the toolset.
B-4 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
The ARCTools Simulator Window
B-5 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
The ARCTools Edit Window
B-6 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
The ARCTools Edit Window• The Edit window with an asm file and the file dialog
B-7 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Assembly• The arc4 program after assembly, showing arc4.lst, the listing file.
B-8 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Binary File• The arc4 bin file, displayed after pressing the Show Binary File button.
B-9 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Setting up ARCTools
• Contents of the ARCTools directory after unzipping.
B-10 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Simulation
• The ARCTools simulator window after pressing Bin -> Sim.
B-11 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Instructions Recognized by ARCTools
B-12 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Synthetic Instructions Recognized by ARCTools
B-13 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Pseudo-Ops Recognized by ARCTools
B-14 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Instruction Parameters Window
B-15 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
Adjustable Parameters in the L1 Cache Window
B-16 Appendix B - Using ARCTools
Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring
The Timing Statistics Window