test/20260206$ cat test.asm org 0 ORGDEFINE relocated_offset_zero equ $ - (0 ORGDEFINE) dw label dw (label - relocated_offset_zero) dw (label - relocated_offset_zero + 15) / 16 times 26h nop label: test/20260206$ nasm test.asm -l /dev/stderr -DORGDEFINE && podhex test 1 2 org 0 ORGDEFINE 3 relocated_offset_zero equ $ - (0 ORGDEFINE) 4 5 00000000 [2C00] dw label 6 00000002 2C00 dw (label - relocated_offset_zero) 7 00000004 0300 dw (label - relocated_offset_zero + 15) / 16 8 9 00000006 90 times 26h nop 10 label: 000000 2C 00 2C 00 03 00 90 90-90 90 90 90 90 90 90 90 >,.,.............< 000010 90 90 90 90 90 90 90 90-90 90 90 90 90 90 90 90 >................< 000020 90 90 90 90 90 90 90 90-90 90 90 90 >............< 00002C test/20260206$ nasm test.asm -l /dev/stderr -DORGDEFINE='+256' && podhex test 1 2 org 0 ORGDEFINE 3 relocated_offset_zero equ $ - (0 ORGDEFINE) 4 5 00000000 [2C00] dw label 6 00000002 2C01 dw (label - relocated_offset_zero) 7 00000004 1300 dw (label - relocated_offset_zero + 15) / 16 8 9 00000006 90 times 26h nop 10 label: 000000 2C 01 2C 01 13 00 90 90-90 90 90 90 90 90 90 90 >,.,.............< 000010 90 90 90 90 90 90 90 90-90 90 90 90 90 90 90 90 >................< 000020 90 90 90 90 90 90 90 90-90 90 90 90 >............< 00002C test/20260206$