On Wed, 28 Dec 2011 09:59:48 +0100, Fred van der Windt wrote:

>I want to use MVI to assign the low byte of value that is
>larger than 255. This results in an ASMA031E error message:
>** ASMA031E Invalid immediate or mask field
>I tried to use ACONTROL to circumvent this issue:

>ACONTROL TYPECHECK(NOMAGNITUDE)

>As far as I understand this should instruct the assembler
>not to check the magnitude of the immediate value

"NOMAGNITUDE  Specifies that the assembler not perform
magnitude validation of signed immediate-data fields of
machine instruction operands"

MVI does not use a "signed immediate-data field".

>I'd appreciate every suggestion.

I can think of two ways off the top of my head
Use arithmetic such as A-A/256*256
Use a SETA symbol that is set with (A OR 255)

--
Tom Marchant

Reply via email to