https://sourceware.org/bugzilla/show_bug.cgi?id=27878
--- Comment #1 from Pete Moore <petemoore at gmx dot net> --- Interestingly, the assembler will fail if the out-of-range value comes from a label rather than an explicitly specified constant in the assembly source code: ``` $ cat test.asm .org 0x1232 ; value chosen intentionally so that label == 0x1234 ld (hl), label label: $ z80-unknown-elf-as -o test.o test.asm && z80-unknown-elf-objdump -d test.o test.asm: Assembler messages: test.asm:2: Error: value of 4660 too large for field of 1 byte at 4659 ``` This is the output I was also expecting for `ld (hl), 0x1234`. Note, if the `.org 0x1232` is removed, label fits in 8 bits, and assembly succeeds, as expected. -- You are receiving this mail because: You are on the CC list for the bug.