Assumes address is in a storage location.
Most of the discussion has been based on the premise that we are talking
about an error code in R15, although the code I was copying was from the
start of the program where Rx contains a function code.
Tony Thigpen
-----Original Message -----
From: Robin Vowels
Sent: 08/27/2012 09:26 PM
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