• Aucun résultat trouvé

Debug Mainframe Requests

Dans le document CONTROL DATA (Page 53-56)

The following requests are used to debug the mainframe.

STORE DATA IN CORE REQUEST

Data is stored in core by using this command.

Format

The statement format is:

LHX,cl, b/ d,d, ... ,d Parameters

The parameters used to store data in core are:

cl--core location

b-base (0 if not specified)

d-data (four-digit hexadecimal number)

6-1

· LHX Examples

The following examples indicate how to utilize the LHX request.

To store data into core location phIs base, use:

LHX,1600,0/14EA

This stores 14EA into location 1600.

A one-word relative instruction would be as foIlows:

LHX,c1,b/2-digit OP code*address

This loads core with the two-digit OP code which precedes the asterisk and the 8-bit relative increment (which is obtained by subtracting the address of the core location in which the data is to be stored from the address which follows this asterisk). The relative increment must be less than ±127; otherwise, an incorrect relative increment will be stored.

NOTE

The address which follows the asterisk is always a 16-bit absolute address.

To store C805 into location 1601; therefore, use:

LHX,1601,0/C8*1606 For a 16-bit relative address, use:

LHX,c1,b/*address

This loads core with the 16-bit relative increment. The increment is obtained by subtracting the address of the core location in which the data is to be stored from the address which follows this asterisk.

NOTE

The address which follows this asterisk is always a 16-bit absolute address.

To store FEFE into location 1602; therefore, use:

LHX,1602,0/* 1501

In the example, the address is $0101 locations relative to the current location.

6-2

NOTE

LHX,1600,0/14EA,C8*1606,

*1501 has the same result as the three preceding examples.

LOAD DECIMAL INTO CORE REQUEST A decimal is loaded into core via this request.

Format

The statement format is:

LDC,starting address/d1,d2, ... ,dn

DUMP CORE REQUEST

To dump a five-digit decimal value of core from start plus base to end plus base, the following format is used:

DDC,sc,ec,b Parameters

The parameters are:

sc-start core ec-end core

b-base (O if not specified)

To dump a four-digit hexadecimal value of core from start plus base to end plus base, the following format is used:

DPC,sc,ec,b Parameters

The parameters in this example are:

sc-start core ec-end core

b-base (O if not specified) WRITE CORE TO DISK REQUEST To write core to disk, use this command.

Format

The statement format is:

WCD,sector,word in sector, core location, number of words

Parameters

The number:'of-words parameter is decimal, and all other parameters are hexadecimal.

READ DISK TO CORE REQUEST This statement is used to read disk to core.

Format

The statement format is:

RDC,sector,word in sector,core location, number of words

Parameters

The number-of-words parameter is decimal, and all other parameters are hexadecimal.

SEARCH CORE LOCATIONS REQUEST

By using this command, core locations are searched from start core to end core by the increment for a match between AND (mask, number) and AND (mask, core).

Format

The statement format is:

SCN ,sc,ec,no,m,i Parameters

The following parameters are applicable for the search core request format:

sc-start core ec--end core no----number

m-mask; "1" bits in mask indicate the position in core is examined; "0" bits in mask indicate the bit position in core is not examined

i-increment

Example of Search Core Location The following search could be used:

SCN ,0, 7FFF,A1F7 ,FFOO,2

In this example, the command calls for a search 0,2,4,6,8, ... for AND (A1F7,FFOO) or AND (A1xx,FFOO) where xx may have any value. The locations and contents of the locations which contain the searched configuration are printed after the following heading:

CELL CONTENTS

REASSIGN LIST DEVICE USED BY DEBUG REQUEST

This command allows the user to reassign any list device which is required for output. .

Format

The statement format is:

CLU,lu, Parameter

The following parameter is used in the format for the CLU request:

lu---:-Iogical unit number of list device to be used by DEBUG

SEARCH CORE FOR PARITY ERROR REQUEST Core is searched for parity errors via this request.

Format

The format for this command is:

SPE,last location in core

With this command, location of the parity error is printed. The following comment terminates the request:

SEARCH FINISHED

ADD HEXADECIMAL NUMBERS REQUEST Hexadecimal numbers can be added through the use of this request.

Format

The format for adding up to eight hexadecimal numbers is:

ADH,numberl ,number2, ... ,number8

SUBTRACT HEXADECIMAL NUMBERS REQUEST To subtract hexadecimal numbers, use this request.

Format

The format for subtracting number 2 from number 1 (hexadecimal) is:

SBH,numberl ,number2

6-3

SCHEDULE COMPLETION WCATION REQUEST Schedule the specified core location at the specified priority level by passing the contents in the Q register.

Completion location may also designate 'directory calls.

Format

The statement format is:

SCH,cl,Q,cpl Parameters

The parameters for this request are:

cl--core location (four-digit hexadecimal number) Q--contents of Q register

cpl--completion priority level SET CORE REQUEST

This command enables the operator to set core from the start to the end with pattern.

Format

The statement format is:

SET,sc,ec,pattern Parameters

The parameters for the set core request format are defined as follows:

sc-start core ec-end core

pattern-word to store in core

SET PROGRAM PROTECT BIT REQUEST The program protect bit is set via this request.

Format

The statement format is:

SPP,sc,ec 6-4

Parameters

This request uses the following parameters as defined:

sc-start core ec-end core

CLEAR PROGRAM PROTECT BIT REQUEST The program protect bit is cleared via this request.

Format

The statement format is:

CPP,sc,ec Parameters

The parameters for this statement request format are:

sc-start core ec-end core

MOVE BLOCK IN CORE REQUEST To move a block in core, this request is used.

Format

The statement format is:

MBC,sc,ec,nl Parameters

These parameters are as follows:

sc-start core ec-end core nl-new location

Dans le document CONTROL DATA (Page 53-56)

Documents relatifs