Blame | Last modification | View Log | Download
# file opened: relocation_multi_blocks.asm1 00002 0000 ; first relocation block3 0000 RELOCATE_START4 00005 0000 ORG $10006 10007 1000 ASSERT 2 * relocate_count == relocate_size8 1000 ASSERT 4 == relocate_count9 1000 04 00 dw relocate_count10 1002 08 00 dw relocate_size11 100412 1004 reloc1:13 1004 21 04 10 ld hl,reloc1 ; to be relocated14 1007 11 0C 20 ld de,reloc2 ; to be relocated15 100A 01 08 10 ld bc,reloc2-reloc116 100D 31 DC 17 ld sp,absolute117 101018 1010 RELOCATE_END19 101020 1010 ; no relocation area21 1010 ORG $17DC22 17DC absolute1:23 17DC 21 04 10 ld hl,reloc124 17DF 11 0C 20 ld de,reloc225 17E2 01 08 10 ld bc,reloc2-reloc126 17E5 31 DC 17 ld sp,absolute127 17E828 17E8 ; second relocation block29 17E8 RELOCATE_START30 17E831 17E8 ORG $200032 200033 2000 21 04 10 ld hl,reloc1 ; to be relocated34 2003 11 0C 20 ld de,reloc2 ; to be relocated35 2006 01 08 10 ld bc,reloc2-reloc136 2009 31 DC 17 ld sp,absolute137 200C reloc2:38 200C39 200C 05 10 08 10 RELOCATE_TABLE39 2010 01 20 04 2040 201441 2014 RELOCATE_END42 201443 2014 ASSERT 0 == 044 2014 ASSERT 0 == 045 2014# file closed: relocation_multi_blocks.asmValue Label------ - -----------------------------------------------------------0x17DC absolute10x1004 reloc10x200C reloc20x0004 relocate_count0x0008 relocate_size