The instructions JRR and JRS does not write back the tested byte. There is no need of shadow registers for these instrucions.
Instead the instructions SET/RES write back into the source register. So there is need of shadow register in case of setting/resettig the bits of data register. For more detail you can refer to AN432 at www.stmcu.com/files/mcu/2485.pdf
find on page 6 of this Application Note the following text: The ST62XX instruction set includes four different instructions operating on single bits, - SET Set Bit in Register - RES Reset Bit in Register - JRS Jump Relative IF Bit in Register is set - JRR Jump Relative IF Bit in Register is reset These instructions use a read-modify-write cycle. This is wrong then ?
Only SET and RES instructions use READ-MODIFY-WRITE cycle. The insructions JRR and JRS are only READ and jump instructions. The statement ''These instructions use a read-modify-write cycle'' is valid only for SET and RES instructions.