Fred van der Windt noted:
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:
PUSH ACONTROL
ACONTROL TYPECHECK(NOMAGNITUDE)
MVI FQC7001_OP+3,FQC7001_E_CREATE_DOCUMENT
POP ACONTROL
As far as I understand this should instruct the assembler not to check
the magnitude of the immediate value and I expected it to just generate
the instruction with a truncated immediate value but instead I still get
the same error message... What am I doing wrong? I'd appreciate every
suggestion.
It seems that you want an option like AUTOTRUNC rather than a TYPECHECK
sub-option, which is intended to reduce confusion about what one might
expect from different forms of immediate operand in some instructions.
Can you use something like this to store just the low-order 8 bits?
LA 0,FQC7001_E_CREATE_DOCUMENT
STC 0,FQC7001_OP+3
John Ehrman