Blame | Last modification | View Log | Download
# file opened: relocation_temporary_labels_consistency.asm1 0000 ORG $10002 10003 1000 RELOCATE_START4 10005 1000 08 00 dw relocate_count6 1002 10 00 dw relocate_size7 10048 1004 ; these ahead of RELOCATE_TABLE will refresh the table content to keep it consistent9 1004 1:10 1004 C3 04 10 jp 1B11 1007 C3 04 10 jp 1B12 100A C3 10 10 jp 1F13 100D C3 10 10 jp 1F14 1010 1:15 101016 1010 ; emit intetionally table ahead of labels "3B"/"3F" to break table consistency17 1010 05 10 08 10 RELOCATE_TABLE17 1014 0B 10 0E 1017 1018 19 10 1C 1017 101C 1F 10 22 1018 1020relocation_temporary_labels_consistency.asm(19): warning: Temporary label has different address19 1020 3: ; warning about different address (between pass2 and pass3)relocation_temporary_labels_consistency.asm(20): warning: Relocation table seems internally inconsistent: table content differs in last pass20 1020 C3 20 10 jp 3B ; warning about inconsistent table (content differs)21 1023 C3 20 10 jp 3B ; second warning is not issued (one only)22 1026 C3 24 10 jp 3F ; forward label test (also two more opportunities to warn if not yet)23 1029 C3 24 10 jp 3Frelocation_temporary_labels_consistency.asm(24): warning: Temporary label has different address24 102C 3: ; warning about different address (between pass2 and pass3)25 102C26 102C ; emit final version of the table for comparison27 102C 05 10 08 10 RELOCATE_TABLE27 1030 0B 10 0E 1027 1034 21 10 24 1027 1038 27 10 2A 1028 103C RELOCATE_END29 103C# file closed: relocation_temporary_labels_consistency.asmValue Label------ - -----------------------------------------------------------0x0008 relocate_count0x0010 relocate_size