On Sat, 23 Oct 2021 11:33:33 -0500 Joe Monk <[email protected]> wrote:

:>Howdy,

:>I know this will probably be an easy answer for somebody... but I dont deal
:>with AM64 much.

:>If Im in AM64 and I load an index register with -1, does the machine ignore
:>the sign when using it in an RX instruction such as STC?

:>I know it ignores the sign in AM24/31...

As the address is modulo 64, adding is the same as subtracting the negative.

Just make sure that you use a 64 bit instruction to load the -1.

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to