Ooops.  Missed that you were using the CL* version.  No such thing as
negative numbers in logical land.

sas

On Wed, Dec 7, 2022 at 12:00 PM Ed Jaffe <edja...@phoenixsoftware.com>
wrote:

> On 12/7/2022 8:20 AM, Seymour J Metz wrote:
> > When you code an immediate operand, it has semantics beyond the
> generated code. An operand of -1 is signed and not equivalent to X'FFFF',
> even though they have the same value. The instruction is compare logical
> half half storage immediate, thus the assembler expects the immediate
> operand to be unsigned. I'd consider the message to be appropriate.
> >
> > Maybe define a symbol with an appropriate and use it in the CLHHSI, e.g.,
> >
> > HWMINUS1ASUNSIGNED EQU X'FFFF'
>
>
> Yes, an EQUate should work. Perhaps something like UHNeg1 which is not
> syntactically longer than =H'-1' used to be.
>
>
> --
> Phoenix Software International
> Edward E. Jaffe
> 831 Parkview Drive North
> El Segundo, CA 90245
> https://www.phoenixsoftware.com/
>
>
>
> --------------------------------------------------------------------------------
> This e-mail message, including any attachments, appended messages and the
> information contained therein, is for the sole use of the intended
> recipient(s). If you are not an intended recipient or have otherwise
> received this email message in error, any use, dissemination, distribution,
> review, storage or copying of this e-mail message and the information
> contained therein is strictly prohibited. If you are not an intended
> recipient, please contact the sender by reply e-mail and destroy all copies
> of this email message and do not otherwise utilize or retain this email
> message or any or all of the information contained therein. Although this
> email message and any attachments or appended messages are believed to be
> free of any virus or other defect that might affect any computer system
> into
> which it is received and opened, it is the responsibility of the recipient
> to ensure that it is virus free and no responsibility is accepted by the
> sender for any loss or damage arising in any way from its opening or use.
>

Reply via email to