RI5CY: User Manual v4.2: p.clipr instructions opcode seems wrong
Created by: alfredoh1234
RI5CY: User Manual v4.2 section 14.3.3 appears to show inaccurate p.clipr opcode:
Mnemonic | Description |
---|---|
p.clipr rD, rs1, rs2 | if rs1 <= -(rs2+1), rD = -(rs2+1), else if rs1 >=rs2, rD = rs2, else rD = rs1 |
Is it indicating that the value stored in rs2 should be inverted before checking if rs1 <= -(rs2+1)
Shouldn't the opcode show rs2 to be signed and the opcode be something like rs1 <= Sext(rs2+1) , rD = Sext(rs2 +1)