8. TEST FACILITY $AID

When testing ConPLAN user programs, it will be noted that interpreting data in the emulated data areas can be a rather arduous task, as data in ICL format cannot be readily understood when displayed in any of the standard IDA/AID display formats. IDA/AID lack the facility to display:

   Octal numbers
   ICL characters in 6-bit code

The test facility $AID is designed to bridge this gap. It is based on the BS2000 command /INTR (Program interrupt), and is an integral feature of the conversion system.

A ConPLAN program can be stopped at any time, either by pressing [K2] or preferably, by setting an IDA/AID stop. Once in command mode, the command /INTR can be entered with or without parameters. The format is

/INTR [[W]addr,[W]len]

/INTR without parameters: Display the ICL accumulators X0-X7 both in octal and printable format.

addr

The hexadecimal  start address of a memory area to be displayed both in octal and

len

The decimal length of the memory area to be displayed. It can be specified in bytes or ICL Words (see parameter W)

W indicates ICL word format, i.e. if addresses from the assembler listing are used which follow the header:

'VIRTUAL DATA STRUCTURE (WORDS)', the address must be preceded by W. Alternatively, one can use the symbolic data name and let IDA/AID find the byte address in memory (/DISPLAY command). Such an address is a byte address and must be entered without W to address the desired memory location. Similarly, in connection with len, W can be used to refer to a decimal length in ICL 24-bit words. len defaults to a byte length if W is not specified.

Examples:

The commands

/INTRD95,30
/INTRD95,W10
/INTRW487,30
/INTRW487,W10

display 30 bytes of data beginning at location (dec) 357.
The commands

/INTR
/INTR0,24
/INTR0,W8

display the ICL accumulators X0-X7

Note   

After entering an /INTR command, BS2000 will resume execution of the user program unless a IDA/AID stop was explicitly set.