153B CAMACIOInstruction¶
Stub MON 153B (107 decimal) · Mnemonic IOXN · Group: Device Handling (manual section 2.11)
Available from: RT programs (manual compatibility box)
Emulation source: src/handlers/mon_153B_CAMACIOInstruction.c
Description¶
Executes a single IOX instruction for CAMAC. See under CAMACFunction (mon 147) for general information.
Parameters¶
| Name | Type | Direction | Description |
|---|---|---|---|
DataWord |
INTEGER | In/Out | Input of data if write. Output if read. |
IOXCode |
INTEGER | In | Physical device number in the range 2000B-4000B. |
Direction: In = the program supplies the value, Out = the call returns it, In/Out = both.
See also¶
CAMACFunction, AssignCAMACLAM, BCNAFCAMAC, BCNAF1CAMAC, CAMACGLRegister
Compatibility¶
| Machines | Users | Programs |
|---|---|---|
| ND-100 and ND-500 | User RT and user SYSTEM | RT programs |
The manual's compatibility box for this call, word for word.
Yes/no fields from the YAML extraction (not in the manual's words):
| ND-100 | ND-500 | User programs | RT programs | System programs |
|---|---|---|---|---|
| Yes | Yes | Yes | Yes | No |
Examples¶
From the manual (OCR text, not corrected).
INTEGER : DataWord, IOXCode
...
Monitor_Call('CAMACIOInstruction', DataWord, IOXCode)
INTEGER DataWord, IOXCode
...
Monitor_Call('CAMACIOInstruction', DataWord, IOXCode)
IF (ErrCode .NE. 0) THEN ...
DataWord, IOXCode : INTEGER2;
...
CAMACIOInstruction (DataWord, IOXCode);
IF ErrCode <> 0 THEN ...
01 DataWord COMP.
01 IOXCode COMP.
01 ErrCode COMP.
...
MONITOR-CALL "CAMACIOInstruction" USING DataWord, IOXCode.
CALL "CbError" USING ErrCode.
IF ErrCode NOT = 0 GO ...
DataWord : W BLOCK 1
IOXCode : W BLOCK 1
ErrCode : W BLOCK 1
CAMACIOInstruction : EQU 37B9 + 153B
...
CALLG CAMACIOInstruction, 2, DataWord, IOXCode
IF K GO ERROR
...
ERROR : W1 =: ErrCode %ErrorCode in W1 register.
LDA DEVNO %Hardware device number.
COPY SA DD
LDA DATA %Data if write.
MON 153 %Monitor call CAMACIOInstruction.
STA DATA %Store data if read.
...
DATA,
DEVNO,
ndmonlib implementation¶
Stub Registered MON_STATUS_NOT_IMPLEMENTED: the handler is a stub. mon_dispatch() in src/core/mon_dispatch.c reports the call as unimplemented without calling it.
| Handler | mon_153B_CAMACIOInstruction |
| Code lines | 7 (non-blank, non-comment lines in the file) |
Source¶
SINTRAN III Monitor Calls (ND-860228.2 EN), page 104.