mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
This breaks horribly for things like (sym+511)>>9 in -f bin, as the result is zero instead of something more useful. Also don't check RHS for symbols; these will fall out later in the assembly process if they cannot be simplified. svn path=/trunk/yasm/; revision=2220
6 lines
82 B
NASM
6 lines
82 B
NASM
dw foo
|
|
dw (foo+((1<<9)-1))
|
|
dw (foo+((1<<9)-1)) >> 9
|
|
foo:
|
|
dw (bar+foo)>>(0+1)
|
|
bar:
|