Blame | Last modification | View Log | Download
# file opened: relocation_equ_current_address.asm1 0000 org $30002 3000 relocate_start3 30004 3000 test1 equ $ ; should have isRelocatable flag5 3000 test2 equ $ + 23 ; should have isRelocatable flag6 3000 test3 equ $ - test1 ; size of code = no relocation7 30008 3000 02 00 dw relocate_count9 3002 04 00 dw relocate_size10 300411 3004 21 00 30 ld hl,test1 ; to be relocated12 3007 11 17 30 ld de,test2 ; to be relocated13 300A 01 00 00 ld bc,test3 ; no relocation14 300D 31 14 30 ld sp,noRel1 ; no relocation15 301016 3010 05 30 08 30 relocate_table17 301418 3014 relocate_end19 301420 3014 noRel1 equ $21 3014 ; no relocation outside of the block22 3014 21 00 30 ld hl,test123 3017 11 17 30 ld de,test224 301A 01 00 00 ld bc,test325 301D 31 14 30 ld sp,noRel1 ; no relocation26 302027 3020 ASSERT 2 == relocate_count28 3020 ASSERT 0 == 029 3020 ASSERT 0 == 030 3020# file closed: relocation_equ_current_address.asmValue Label------ - -----------------------------------------------------------0x3014 noRel10x0002 relocate_count0x0004 relocate_size0x3000 test10x3017 test20x0000 test3