On Mon, Jun 20, 2016 at 9:59 AM, John McKown <[email protected]>
wrote:

>
>
> On Mon, Jun 20, 2016 at 9:56 AM, Steve Smith <[email protected]> wrote:
>
>> Why shouldn't this be allowed:
>>
>> 00000182 0000 0000 0000          00000000    294          LLILF
>> R15,V(BPX4GUI)          GET THE EPA
>> ASMA044E Undefined symbol - V
>> ASMA173S Delimiter error, expected blank - (BPX4GUI)
>>
>> --
>> sas
>>
>
> ​Shouldn't that be:
>
> LLILF R15,=V(BPX4GUI)
>
> You left of the = sign before the V.​
>
>

​OOPS, I was thinking of the wrong instruction. V(BPX4GUI) is not a self
defining symbol. So HLASM won't use it as an immediate value. I guess it's
a design decision. You could do something like:

   LLILF R15,0
   ORG *-4
   DC    VL4(BPX4GUI) VL4 AVOIDS FULLWORD ALIGNMENT
*  ORG , NOT REALLY NEEDED.

-- 
"Pessimism is a admirable quality in an engineer. Pessimistic people check
their work three times, because they're sure that something won't be right.
Optimistic people check once, trust in Solis-de to keep the ship safe, then
blow everyone up."
"I think you're mistaking the word optimistic for inept."
"They've got a similar ring to my ear."

>From "Star Nomad" by Lindsay Buroker:

Maranatha! <><
John McKown

Reply via email to