yasm/libyasm/tests/value-mask.errwarn
Peter Johnson aba2a018cb Support masking of relocatable values with an AND of the full value width to
avoid warnings.  This is primarily useful in bin object format output.
  db label        ; if label is >255, warns.
  db label & 0xff ; okay, no warning.
Masks other than full-sized 1s are still not supported:
  db label & 0x7f ; too complex error

svn path=/trunk/yasm/; revision=2034
2008-02-08 18:59:46 +00:00

1 line
48 B
Text

-:1: warning: value does not fit in 8 bit field