At 06:52 PM -0500 on 03/07/2011, Tony Harminc wrote about Re: EQUate
to a character string:

Typically you would use

CLC   MYSTRING,=A(CODE)

but this is a bit doubtful... It tempts the beginner into thinking that

WRONG  EQU  C'ABCDE'
CLC   MYSTRING,=A(WRONG)

might work, and it won't.

OTOH, since MYSTRING is apparently 5 bytes long, this SHOULD work:

WRONG  EQU  C'ABCDE'
CLC   MYSTRING,=AL5(WRONG)

Although you need to go AMODE 64 since this constant needs 33 bits to
be stored and thus is beyond 32-bit addressing.

Reply via email to