Blame | Last modification | View Log | Download
# file opened: relocation_dw_db.asm1 0000 ORG $10002 10003 1000 RELOCATE_START4 10005 1000 07 00 dw relocate_count6 1002 0E 00 dw relocate_size7 10048 1004 table:9 1004 15 10 dw label1 ; to be relocated10 1006 1C 10 dw label2 ; to be relocated11 1008 11 11 15 10 dw $1111, label1, $2222, label2 ; single line having multiple values11 100C 22 22 1C 1012 1010 ; warn about unstable expressionrelocation_dw_db.asm(13): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable13 1010 10 db high label114 1011 10 db high label1 ; relunstable-ok ; supressed warning15 1012 ; correct + no relocation data16 1012 07 00 dw label2-label117 1014 07 db label2-label118 101519 1015 label1:20 1015 21 04 10 ld hl,0+tablerelocation_dw_db.asm(21): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable21 1018 36 04 ld (hl),low table ; warn about unstable22 101A 36 04 ld (hl),low table ; relunstable-ok ; suppressed warning23 101C label2:24 101C 11 08 10 ld de,table+425 101F ED 53 16 10 ld (label1+1),de26 102327 1023 ; these should warn about unstable result, but only oncerelocation_dw_db.asm(28): warning: value 0x1015 is truncated to 8bit value: 0x15relocation_dw_db.asm(28): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable28 1023 0C 15 17 10 db 12, low label1, 23, high label1, 34, label1, 5628 1027 22 15 3829 102A30 102A RELOCATE_END31 102A32 102A 04 10 06 10 RELOCATE_TABLE32 102E 0A 10 0E 1032 1032 16 10 1D 1032 1036 21 1033 1038# file closed: relocation_dw_db.asmValue Label------ - -----------------------------------------------------------0x1015 label10x101C label20x0007 relocate_count0x000E relocate_size0x1004 table