mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
21 lines
410 B
D
21 lines
410 B
D
|
#name: Z8002 forward relative load just in range
|
||
|
#source: ldr-opcode.s -z8002
|
||
|
#source: 0filler.s -z8002 --defsym BYTES=32766
|
||
|
#source: branch-target.s -z8002
|
||
|
#ld: -T reloc.ld -mz8002 -e 0
|
||
|
#objdump: -dr
|
||
|
|
||
|
.*: file format coff-z8k
|
||
|
|
||
|
|
||
|
Disassembly of section \.text:
|
||
|
|
||
|
00001000 <\.text>:
|
||
|
1000: 3100 7ffe ldr r0,0x9002
|
||
|
|
||
|
00001004 <\.text>:
|
||
|
\.\.\.
|
||
|
|
||
|
00009002 <target>:
|
||
|
9002: bd04 ldk r0,#0x4
|