My native language is assembler and not all assemblers are designed for the 
S/360 line. Ones complement is awkward on HLASM, but Twos Complement is awkward 
on, e.g., COMPASS.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Steve Smith <[email protected]>
Sent: Wednesday, July 18, 2018 8:26 AM
To: [email protected]
Subject: Re: S0C6 in CSRC4RG1

Nice...

So, you say 1s-complement is better than 2s-complement?  Is ~15 clearer
than -16?  ;-)

My "native" language is assembler, and it doesn't have an easy way to
specify the former.

sas

On Wed, Jul 18, 2018 at 4:14 AM, David Crayford <[email protected]> wrote:

> I certainly wouldn't encourage anybody to use negative numbers for bit
> mask values!
>
> Why not just write an aligned memory allocator which stashes an extra
> pointer in a known location for easy freeing?

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

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

Reply via email to