Browse Prior Art Database

Programming Debugging Aids for Emulator

IP.com Disclosure Number: IPCOM000083017D
Original Publication Date: 1975-Mar-01
Included in the Prior Art Database: 2005-Feb-28
Document File: 2 page(s) / 25K

Publishing Venue

IBM

Related People

Hedeman, WR: AUTHOR

Abstract

A program 2 that is written in a code that is to be emulated, is supplied to an emulator 5 that executes the code in a different instruction set. The emulator 5 has an emulator support program 3 and a program 4 and associated hardware that provide debugging aids. Debugging aids 4 permit the emulated code 2 to be operated and monitored in a way that helps a programmer find errors.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 2

Programming Debugging Aids for Emulator

A program 2 that is written in a code that is to be emulated, is supplied to an emulator 5 that executes the code in a different instruction set. The emulator 5 has an emulator support program 3 and a program 4 and associated hardware that provide debugging aids. Debugging aids 4 permit the emulated code 2 to be operated and monitored in a way that helps a programmer find errors.

The system of the drawing has hardware for several debugging aids. For example, the emulator 5 may execute a single emulated instruction or a selected number of instructions and return to the debugging software. The hardware may monitor the emulated code 2 for a particular operation such as a branch and then return to the debugging software. The hardware may also perform data collection operations such as mapping the mix of emulated instructions, according to their operation codes. These operations are selected by two bytes 6 and 7 that are supplied to the debugging hardware. Byte 6 contains flags that select a particular operation and byte 7 holds a count that controls the operation.

The system provides debugging aids without modifying either the emulated code 2 or the emulator of support program 3. The debugging hardware permits the monitoring operations to be performed in parallel with the execution of the emulated code, and thereby improves performance.

1

Page 2 of 2

2

[This page contains 2 pictures or other non-text objects]