> I thing stronger typing, such as a warning if an LH referenced a fullword,
> would be a plus in the assembler. I am assuming here that it could be turned
> on and off, preferably with something like PUSH TYPING. I for one would turn
> it on. I would welcome a warning if I did an LH on a fullword, particularly
> in the situation where I changed a halfword to a fullword and missed making
> the corresponding change to one or more instructions.

I would say that it should not apply if there is an offset,
similar to alignment not being done on DC with explicit length.

  LH 1,X+2

to load the low halfword of X should not get a warning, as
it is obviously not supposed to match.  An offset of zero
could be a way to turn off type matching.

Do you want real type matching, or just length?

Does LE on a F constant genearte a warning?

-- glen

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to