Instruction tracing via microprogramming

  • Authors:
  • Dan H. Barnes;Larry L. Wear

  • Affiliations:
  • -;-

  • Venue:
  • MICRO 7 Conference record of the 7th annual workshop on Microprogramming
  • Year:
  • 1974

Quantified Score

Hi-index 0.00

Visualization

Abstract

Assembly level instruction trace routines have been used for years by programmers as a debugging aid. However, most of these have the disadvantages that they are usually 1) very slow and 2) not amenable for use with operating system development. This paper shows how the standard ROM resident instruction set of the H-P 2100 was replaced by a new WCS resident set that contains instruction trace routines with physical I/O. The trace routine was designed so that either all instructions could be traced, or only instructions from a specified area of memory; since the specified area may be modified while the program is running, the user has the flexibility to choose how his program will be monitored. Because all the routines are in firmware rather than software, degradation in speed while the trace executes is not nearly as great as it is for software trace routines. Also, since the trace routine requires no system support, such as I/O or loaders, it can be an effective tool for use in operating system development.