Echoing Binyamin’s post, why is this not simply flagged by the assembler? 
Assuming it’s valid code, Is the result of its execution to put the section 
offset of MYLABEL in the low half of R3 (leaving the high half unaltered)?


Keven



> On Nov 24, 2020, at 00:06, Binyamin Dissen <[email protected]> wrote:
> 
> On Mon, 23 Nov 2020 20:11:45 -0500 Melvyn Maltz
> <[email protected]> wrote:
> 
> :>I have to thank my esteemed colleague Don Higgins for enabling this post
> 
> :>IILF R3,MYLABEL
> ...
> :>MYLABEL DC 'HELLO'
> 
> :>This is interesting on a number of levels, yes, the immediate value is 
> relocatable
> :>I guess this is a 'good thing' for 32-bit immediate instructions...hmmm
> 
> What was the "immediate" value assembled? Was it in the RLD? The immediate
> field should be a value, not a relocatable address (as least as I would
> understand it).
> 
> :>My concern is though, are these instructions modal ?
> 
> As it changes explicit bytes, how would modality be relevant?
> 
> :>I haven't tested all variants, but in 31-bit mode is the top bit on  ?
> :>If so, LGFI would propagate it...if so it doesn't seem like a good thing
> 
> Why would the mode be relevant? LGFI sign extends in all addressing modes.
> 
> :>Not a lot about this in the PoP...nada  
> 
> Don't understand why the assembler accepted the instruction.
> 
> --
> Binyamin Dissen <[email protected]>
> http://www.dissensoftware.com
> 
> Director, Dissen Software, Bar & Grill - Israel
> 
> 
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
> 
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.

Reply via email to