Java Version:
openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (build 17.0.8.1+1, mixed mode, sharing)
Logs attached: no
The ROTATE THEN AND SELECTED BITS instruction is reporting an error expecting 5 operands, but it shouldn't because the 5th operand is optional.
Detailed steps for reproducing the problem:
Open a HLASM module with the following instruction:
RNSBGT &R,&R,34,63
and in the Problems window it reports the following:
"Unexpected number of operands. Expected 5 but found 4"
[{
"resource": "/c:/Users/me/git/myrepo/blah.asm",
"owner": "_generated_diagnostic_collectionname#4",
"code": "-6",
"severity": 8,
"message": "Unexpected number of operands. Expected 5 but found 4",
"startLineNumber": 415,
"startColumn": 10,
"endLineNumber": 415,
"endColumn": 16
}]
The Principles of Operations has:
ROTATE THEN AND SELECTED BITS
RNSBG R1,R2,I3,I4[,I5] [RIE-f]
ROTATE THEN EXCLUSIVE OR SELECTED BITS
RXSBG R1,R2,I3,I4[,I5] [RIE-f]
ROTATE THEN OR SELECTED BITS
ROSBG R1,R2,I3,I4[,I5] [RIE-f]
Development environment used
The ROTATE THEN AND SELECTED BITS instruction is reporting an error expecting 5 operands, but it shouldn't because the 5th operand is optional.
Detailed steps for reproducing the problem:
Open a HLASM module with the following instruction: RNSBGT &R,&R,34,63
and in the Problems window it reports the following: "Unexpected number of operands. Expected 5 but found 4"
[{ "resource": "/c:/Users/me/git/myrepo/blah.asm", "owner": "_generated_diagnostic_collectionname#4", "code": "-6", "severity": 8, "message": "Unexpected number of operands. Expected 5 but found 4", "startLineNumber": 415, "startColumn": 10, "endLineNumber": 415, "endColumn": 16 }]
The Principles of Operations has: ROTATE THEN AND SELECTED BITS RNSBG R1,R2,I3,I4[,I5] [RIE-f] ROTATE THEN EXCLUSIVE OR SELECTED BITS RXSBG R1,R2,I3,I4[,I5] [RIE-f] ROTATE THEN OR SELECTED BITS ROSBG R1,R2,I3,I4[,I5] [RIE-f]