You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The valid range for branch addresses in BRAS is a half of what it should be.
To Reproduce
Code a BRAS instruction so that RI2 falls between X'4000' and X'7FFF'.
The 2nd argument is falsely flagged as in error.
Expected behavior
The correct upper limit should be +65534 because the binary value represents the number of halfwords that is added
to the address of the instruction.
Similarly with the lower limit.
Screenshots
Platform
Editor: VS Code 1.60.0
OS: Windows
Plugin version: 0.14.1
Additional context
(unrelated quote)
The text was updated successfully, but these errors were encountered:
Describe the bug
The valid range for branch addresses in
BRAS
is a half of what it should be.To Reproduce
Code a
BRAS
instruction so that RI2 falls betweenX'4000'
andX'7FFF'
.The 2nd argument is falsely flagged as in error.
Expected behavior
The correct upper limit should be +65534 because the binary value represents the number of halfwords that is added
to the address of the instruction.
Similarly with the lower limit.
Screenshots
Platform
Additional context
(unrelated quote)
The text was updated successfully, but these errors were encountered: