Why would you expect it to work? The string "NZ" has no special significance to 
the assembler. An opcode like BNZ is just an opcode, not an opcode an a 
mnemonic. An "NZ" on the operand is just a normal symbol, not anything builtin. 
I'd report it as a bug if it worked the way you expected.


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

________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of John McKown <[email protected]>
Sent: Monday, June 3, 2019 12:06 PM
To: [email protected]
Subject: observation on lack in some instructions.

I just wrote some code which uses CIJ (Compare immediate and jump) and
LOCHI (load halfword immediate on codition). In both cases, they did not
accept the condition in "symbolic" form. That is I coded something like
LOCHI R5,20,NZ I.e. Load R5 with 20 if non-zero. But the "NZ" was not
recognised as an mnemonic for 7. I "fixed" this with a simple "NZ EQU 7"
and an equivalent "Z EQU 8". But it was unexpected.

--
This is clearly another case of too many mad scientists, and not enough
hunchbacks.


Maranatha! <><
John McKown

Reply via email to