[QUESTION] Usage of negative number notations on unsigned numbers.

Andreas Schwab schwab at linux-m68k.org
Mon Nov 27 04:09:14 PST 2023


On Nov 27 2023, Karthik B K wrote:

> This is with the assumption that the encoding for -1 == 2^32-1.

No, the representation has nothing to do with that.  It's a value
conversion.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the opensbi mailing list