gtps1m3gSystem Macros

ISNSE-Add an Entry to the Sense Table

Use this system macro to add an entry to the sense (SNS) table that counts the number of resources receiving the same sense code on the same command issued.

Format




label
A symbolic name can be assigned to the macro statement.

SCODE
This specifies the sense code that is to be updated in the sense table. The format of the SCODE operand is:

address
The symbolic address of a two byte field containing the sense code.

(reg)
A register containing the sense code right justified.

CMD
This specifies the command that the sense code was received on. The format of the CMD operand is:

address
The symbolic address of a one byte field containing the command.

(reg)
A register containing the command right justified.

NOMSG
This specifies the return address when no message is to be issued. The format of the NOMSG operand is:

address
The symbolic address of the next instruction to process when no message is to be issued.

(reg)
A register containing the address of the next instruction to process when no message is to be issued.

MSG
This specifies the return address when a message is to be issued. The format of the MSG operand is:

address
The symbolic address of the next instruction to process when a message is to be issued.

(reg)
A register containing the address of the next instruction to process when a message is to be issued.

WKREG=Rx
This specifies a work register for use by the macro. The contents of the register are unknown upon return. This register must not be R0, R14, or R15.

DL=Dx
This specifies a data level that the macro can use to get a RID block. This data level must be free on input and will be returned free on exit from the macro.

RIDE
This specifies the RID of the RVT involved. This will be added to the RID block when the sense is already in the sense table. The format of the RID operand is:

address
The symbolic address of a two byte field containing the RID.

(reg)
A register containing the RID right justified.

Entry Requirements

Return Conditions

Programming Considerations

Examples

None.