Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Code-Mapping Program Using a Microprocessor Single-Step Mode

IP.com Disclosure Number: IPCOM000060791D
Original Publication Date: 1986-May-01
Included in the Prior Art Database: 2005-Mar-09
Document File: 1 page(s) / 11K

Publishing Venue

IBM

Related People

Lederer, JF: AUTHOR

Abstract

To insure adequate testing of a product code under test, a mapping system verifies the instructions in the product code under test that were executed as a result of running each test. An Intel 8088 microprocessor has a trap flag that causes it to operate in a single-step mode. When this flag is set, acode mapping program is executed after the execution of each instruction in the product code. The code-mapping program sets a bit in a 4K array of eight-bit bytes in a portion of the memory of the product under test with each byte corresponding to a byte of the product code being executed. The map printout is a matrix of 1's and 0's with one digit for each byte of the product code. A 1 in the printout indicates an instruction was executed.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 1

Code-Mapping Program Using a Microprocessor Single-Step Mode

To insure adequate testing of a product code under test, a mapping system verifies the instructions in the product code under test that were executed as a result of running each test. An Intel 8088 microprocessor has a trap flag that causes it to operate in a single-step mode. When this flag is set, acode mapping program is executed after the execution of each instruction in the product code. The code-mapping program sets a bit in a 4K array of eight-bit bytes in a portion of the memory of the product under test with each byte corresponding to a byte of the product code being executed. The map printout is a matrix of 1's and 0's with one digit for each byte of the product code. A 1 in the printout indicates an instruction was executed. The user manually compares the mapper output to the product code link-edit map and assembly listings to determine which instructions were not executed by the test and what is required in a test case to get the flow of control of the product code to reach and execute the omitted instructions.

1