When its RA
parameter is 0, the addi
instruction will consider that to be a value instead of reading from the corresponding register like it would if that parameter were anything else. Load and store instructions behave the same way.
Are there any other instructions that behave like this?
The official source for this information would be the ISA - here's the one for Power9, the latest released chip.
If you search through the pdf for "RA = 0" you can see instructions whose behaviour depends on RA being 0. I can find: