Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > Re: S/360
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 16 Topic 262 of 328
Post > Topic >>

Re: S/360

by glen herrmannsfeldt <gah@[EMAIL PROTECTED] > Dec 20, 2005 at 09:46 PM

James J. Weinkam wrote:

(snip)

> Unfortunately, I no longer have any S/360 manuals and there don't seem 
> to be any free downloadable versions.  However, according to 
> GA22-7000-8, IBM System/370 Principles of Operation (1981), HER and HDR 
> do the following:

> The second operand is divided by 2 and the normalized quotient is placed

> in the first operand location.

> The manual goes to describe the exact operation of the instruction in 
> detail, covering every conceivable eventuality.  Under "Programming 
> Notes" it states:

> 3. The result of HALVE is zero only when the second operand fraction is 
> zero, or when exonent underflow occurs with the exponent underflow mask 
> set to zero.  A fraction with zeros in every bit position, except for a 
> one in the rightmost bit position , does not become a zero after the 
> right ****ft.  This is brecause the one bit is preserved in the guard 
> digit and, when the result is not made a true zero because of underflow,

> becomes the leftmost bitafter normalization of the result.

It seems that early S/360's didn't do that.  I believe it was changed
at the same time that a guard digit was added to long float operations.

-- glen
 




 16 Posts in Topic:
Re: S/360
"robin" <rob  2005-12-20 03:51:25 
Re: S/360
glen herrmannsfeldt <g  2005-12-20 00:43:30 
Re: S/360
"John W. Kennedy&quo  2005-12-20 10:08:37 
Re: S/360
"James J. Weinkam&qu  2005-12-20 21:46:26 
Re: S/360
Peter Flass <Peter_Fla  2005-12-21 00:53:26 
Re: S/360
"James J. Weinkam&qu  2005-12-21 07:42:47 
Re: S/360
glen herrmannsfeldt <g  2005-12-20 21:46:21 
Re: S/360
"robin" <rob  2005-12-31 07:39:09 
Re: S/360
glen herrmannsfeldt <g  2006-01-02 12:16:22 
Re: S/360 HER, HDR
"robin" <rob  2006-01-03 01:56:13 
Re: S/360 HER, HDR
glen herrmannsfeldt <g  2006-01-04 02:11:31 
Re: S/360 HER, HDR
"robin" <rob  2006-01-04 15:45:54 
Re: S/360 HER, HDR
glen herrmannsfeldt <g  2006-01-05 00:41:33 
Re: S/360 HER, HDR
"robin" <rob  2006-01-06 00:04:42 
Re: S/360
"John W. Kennedy&quo  2005-12-20 10:08:04 
Re: S/360
"robin" <rob  2005-12-21 07:10:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 20 17:36:07 CDT 2008.