1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#name: Z8001 forward djnz just in range #source: djnz-opcode.s -z8001 #source: branch-target.s -z8001 #ld: -T reloc.ld -mz8001 -e 0 #objdump: -dr .*: file format coff-z8k Disassembly of section \.text: 00001000 <\.text>: 1000: f080 djnz r0,0x1002 00001002 <target>: 1002: bd04 ldk r0,#0x4