How about no registers?

TM X+3,3
BNZ ...

----- Original Message -----
From: "Tony Thigpen" <t...@vse2pdf.com>

Sent: Tuesday, 28 August 2012 3:19 AM


Your code requires 2 scratch registers. The following uses just 1
scratch register and does not require literal storage:

  LA R0,3
  NR R0,R15
  LTR R0,R0
  BNZ BAD_RC

(I still have to use code that works on boxes without the jump
instructions.)

Tony Thigpen

Reply via email to