! !Purpose: !This program tests if the assembler can evaluate !expressions that do not have symbols in pass 2. !Description: !Expressions %hi((0xff00 & 0xf00f | 0x0ff0 ^ 0x0ff0) << 1) !and %lo((~(~(-(-('1' + '2') / 3 % 040 * 0x500)))) >> 1) !are used as the immediate values in "sethi" and "or". .section ".text" sethi %hi((0xff00 & 0xf00f | 0x0ff0 ^ 0x0ff0) << 1), %r3 or %r3, %lo((~(~(-(-('1'+'2') / 3 % 040 * 0x500)))) >> 1), %r3