1 #name: Z8002 forward relative byte load just in range
2 #source: ldrb-opcode.s -z8002
3 #source: 0filler.s -z8002 --defsym BYTES=32766
4 #source: branch-target.s -z8002
5 #ld: -T reloc.ld -mz8002 -e 0
6 #objdump: -dr
7 
8 .*:     file format coff-z8k
9 
10 
11 Disassembly of section \.text:
12 
13 00001000 <\.text>:
14     1000:	3000 7fff      	ldrb	rh0,0x9003
15 
16 00001004 <\.text>:
17 	\.\.\.
18 
19 00009002 <target>:
20     9002:	bd04           	ldk	r0,#0x4
21