On Tue, 19 Jan 2021 11:40:34 -0600, John Ganci wrote:
>In order to see how z390 handles the signs, a short program that does some
>divisions for (dividend,divisor) pairs having signs A,B,C,D (16 combinations)
>was run on z390. Partial results:
Why not post your test program code iso. of the re
Thanks for your reply. That clears it up for me. My bad for not rereading the
section on decimal codes at the beginning of Chapter 8 before posting my
question!
--
For IBM-MAIN subscribe / signoff / archive access instructions,
On Tue, 19 Jan 2021 11:40:34 -0600, John Ganci wrote:
>...
>"The sign of the quotient is determined by the rules of algebra. The sign of
>the remainder has the same value as the dividend sign. These rules hold even
>when the quotient or remainder is zero."
>
Does this guarantee the convention
du/~smetz3
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
John Ganci [0313d5d8c097-dmarc-requ...@listserv.ua.edu]
Sent: Tuesday, January 19, 2021 12:40 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Actual signs set by the DP (divide decimal) instruction
I am working on
I am working on z390 (Don Higgins' software) fixes to the emulation of the DP
(divide decimal) instruction and have a question as to what signs are set for
the remainder.
Normally I would answer my own question by running sample programs, but I am
retired and do not have access to a mainframe.