AHI takes a signed operand. You could use ALFI, but that's 2 bytes longer. Is a
quote (") valid for framing constants? SC26-4940-06 only lists apostrophes.
What is the URL for the most recent edition?
I've submitted an RCF asking for clarification of the syntax of self-defining
terms.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Assembler List [[email protected]] on behalf
of Martin Trübner [[email protected]]
Sent: Tuesday, February 1, 2022 4:40 AM
To: [email protected]
Subject: Re: Making Encoded Bits Human Readable
To be fair we have to consider that Dave stored the results
So:
Dave had 38 with storing results....
Dan is IMHO 32 with storing results
Mine is 26 with storing results
LLC R0,BYTE
SRDL R0,6
SRL R1,6
SLDL R0,8
AHI R0,C"11"
STH R0,RESULT
But HLASM complains:
** ASMA320W Immediate field operand may have incorrect sign or magnitude
only a sev 4
But it lacks the trick for making the result ASCII 😉 with this:
** ASMA150E Symbol has non-alphanumeric character or invalid delimiter - CA'11'
for this we get a sev 8
Martin