Answer for other's benefit...
The ULP registers are all unsigned, and only immediate values are signed / sign extended.
Note the implication that JUMPR x,0,LT and JUMPR x,-1,GT are never taken.
Search found 2 matches
- Wed Jan 20, 2021 6:39 pm
- Forum: General Discussion
- Topic: Shifting signed ULP registers
- Replies: 1
- Views: 1491
- Wed Dec 16, 2020 12:24 pm
- Forum: General Discussion
- Topic: Shifting signed ULP registers
- Replies: 1
- Views: 1491
Shifting signed ULP registers
The ULP registers are stated to be 16 bit signed. Can anyone confirm whether the LSH instruction performs sign-extended or not?