Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

HSITYPE - Output information about current HSI

&pagelevel(4)&pagelevel

General

Application areas:

Requesting and accessing lists and tables; see "Requesting and accessing lists and tables"XS programming; see "XS programming"

Macro type:

Type R; see "R-type macros"


  • HSITYPE is replaced by the NSIINF macro.

Macro description

The HSITYPE macro provides the user with information about the current HSI (Hardware-Software Interface). The information is output to a field whose address is stored in a register. The information provided applies to the entire duration of the current BS2000 session.

Only output value (only XS31 hardware is supported):

XS31: Addressable memory area > 16 Mb; all addresses are interpreted as either

24-bit or 31-bit addresses, depending on the addressing mode.

The macro generates a 31-bit interface.

Macro format and description of operands

HSITYPE

(r)

(r)
Register containing the address of the field where the information is to be entered. Field length = 4 bytes; the field must be aligned on a word boundary.

Register contents

  • Register R1 is overwritten during macro execution.

  • Register R15 contains the return code.

Return information and error flags

R15:

+---------------+
|   |   |   |   |
|0|0|0|0|0|0|a|a|
+---------------+

A return code relating to the execution of the HSITYPE macro is transferred in register R15.

X'aa'

Meaning

X'00'

Function executed.

X'04'

Function not executed. Invalid address was specified or incorrect register.

X'08'

Function not executed. System error (in the event of internal REQM call).

X'18'

Function not executed. Invalid macro format.