Blame | Last modification | View Log | Download
# file opened: relocation_high_1.asm1 0000 OPT --zxnext2 00003 0000 STRUCT RELSTRUCT4 0000 ~ Byte BYTE $115 0000 ~ Word WORD $22336 0000 ~ Tribyte D24 $4455667 0000 ~ Dword DWORD $778899AA8 0000 ~ Text TEXT 6, { "Hello", 0 }9 0000 ENDS10 000011 0000 ; first section is not part of relocation table12 0000 ; =============================================13 000014 0000 ORG $800015 8000 ; same as the relocatable block, but outside of RELOCATE_START -> RELOCATE_END16 8000 21 26 00 ld hl,label117 8003 2A 26 00 ld hl,(label1)18 8006 22 26 00 ld (label1),hl19 8009 FD 21 26 00 ld iy,label120 800D FD 2A 26 00 ld iy,(label1)21 8011 FD 22 26 00 ld (label1),iy22 8015 11 26 00 ld de,label123 8018 ED 5B 26 00 ld de,(label1)24 801C ED 53 26 00 ld (label1),de25 8020 3A 26 00 ld a,(label1)26 8023 32 26 00 ld (label1),a27 8026 CD 26 00 call label128 8029 C3 26 00 jp label129 802C ED 34 26 00 add hl,label130 8030 11 26 00 66 RELSTRUCT {,label1,,,{"text",0}}30 8034 55 44 AA 9930 8038 88 77 74 6530 803C 78 74 00 0031 8040 30 00 40 00 DW s1, s1.end, s1.Tribyte, s1.Text, $31 8044 33 00 3A 0031 8048 40 8032 804A ED 8A 11 09 push label233 804E ED 8A 00 11 push high label234 8052 06 11 ld b,high label235 8054 0E 11 ld c,high label236 8056 16 11 ld d,high label237 8058 1E 11 ld e,high label238 805A 2E 11 ld l,high label239 805C 26 11 ld h,high label240 805E 36 11 ld (hl),high label241 8060 3E 11 ld a,high label242 8062 C6 11 add a,high label243 8064 CE 11 adc a,high label244 8066 D6 11 sub high label245 8068 DE 11 sbc a,high label246 806A E6 11 and high label247 806C EE 11 xor high label248 806E F6 11 or high label249 8070 FE 11 cp high label250 8072 ED 27 11 test high label251 8075 ED 91 00 11 nextreg $00,high label252 8079 DD 26 11 ld ixh,high label253 807C DD 2E 11 ld ixl,high label254 807F DD 36 7B 11 ld (ix+123),high label255 8083 FD 26 11 ld iyh,high label256 8086 FD 2E 11 ld iyl,high label257 8089 FD 36 7B 11 ld (iy+123),high label258 808D 11 11 00 66 RELSTRUCT {high label2,high label2,,,{"ZX",0}}58 8091 55 44 AA 9958 8095 88 77 5A 5858 8099 00 6C 6F 0059 809D 11 11 11 11 DB high s2, high s2.end, high s2.Tribyte, high s2.Text, high $59 80A1 8060 80A2 11 ABYTE 123 high label2-12361 80A3 11 00 ABYTEZ 123 high label2-12362 80A5 C6 11 add a,l2_high63 80A7 21 11 00 ld hl,l2_high64 80AA 2A 11 00 ld hl,(l2_high)65 80AD 22 11 00 ld (l2_high),hl66 80B0 FD 21 11 00 ld iy,l2_high67 80B4 FD 2A 11 00 ld iy,(l2_high)68 80B8 FD 22 11 00 ld (l2_high),iy69 80BC 11 11 00 ld de,l2_high70 80BF ED 5B 11 00 ld de,(l2_high)71 80C3 ED 53 11 00 ld (l2_high),de72 80C7 3A 11 00 ld a,(l2_high)73 80CA 32 11 00 ld (l2_high),a74 80CD CD 11 00 call l2_high75 80D0 C3 11 00 jp l2_high76 80D3 ED 35 11 00 add de,l2_high77 80D7 11 11 00 66 RELSTRUCT {,l2_high,,,{"text",0}}77 80DB 55 44 AA 9977 80DF 88 77 74 6577 80E3 78 74 00 0078 80E7 13 00 13 00 DW high s4, high s4.end, high s4.Tribyte, high s4.Text, high $78 80EB 13 00 13 0078 80EF 80 0079 80F180 80F1 ; resulting relocation data81 80F1 ; =========================82 80F183 80F1 4C 00 98 00 DW relocate_count, relocate_size84 80F585 80F5 02 00 05 00 RELOCATE_TABLE ; provides relocation addresses pointing directly at the high byte85 80F9 08 00 0C 0085 80FD 10 00 14 0085 8101 17 00 1B 0085 8105 1F 00 22 0085 8109 25 00 28 0085 810D 2B 00 2F 0085 8111 32 00 41 0085 8115 43 00 45 0085 8119 47 00 49 0085 811D F2 0F F7 0F85 8121 02 11 04 1185 8125 06 11 08 1185 8129 0A 11 0C 1185 812D 0E 11 10 1185 8131 12 11 14 1185 8135 16 11 18 1185 8139 1A 11 1C 1185 813D 1E 11 20 1185 8141 23 11 27 1185 8145 2A 11 2D 1185 8149 31 11 34 1185 814D 37 11 3B 1185 8151 3C 11 3D 1185 8155 4C 11 4D 1185 8159 4E 11 4F 1185 815D 50 11 51 1185 8161 52 11 81 1385 8165 83 13 86 1385 8169 89 13 8D 1385 816D 91 13 95 1385 8171 98 13 9C 1385 8175 A0 13 A3 1385 8179 A6 13 A9 1385 817D AC 13 B0 1385 8181 B3 13 C2 1385 8185 C4 13 C6 1385 8189 C8 13 CA 1386 818D87 818D 01 00 04 00 RELOCATE_TABLE +1 ; provides relocation addresses pointing one byte ahead of the high byte87 8191 07 00 0B 0087 8195 0F 00 13 0087 8199 16 00 1A 0087 819D 1E 00 21 0087 81A1 24 00 27 0087 81A5 2A 00 2E 0087 81A9 31 00 40 0087 81AD 42 00 44 0087 81B1 46 00 48 0087 81B5 F1 0F F6 0F87 81B9 01 11 03 1187 81BD 05 11 07 1187 81C1 09 11 0B 1187 81C5 0D 11 0F 1187 81C9 11 11 13 1187 81CD 15 11 17 1187 81D1 19 11 1B 1187 81D5 1D 11 1F 1187 81D9 22 11 26 1187 81DD 29 11 2C 1187 81E1 30 11 33 1187 81E5 36 11 3A 1187 81E9 3B 11 3C 1187 81ED 4B 11 4C 1187 81F1 4D 11 4E 1187 81F5 4F 11 50 1187 81F9 51 11 80 1387 81FD 82 13 85 1387 8201 88 13 8C 1387 8205 90 13 94 1387 8209 97 13 9B 1387 820D 9F 13 A2 1387 8211 A5 13 A8 1387 8215 AB 13 AF 1387 8219 B2 13 C1 1387 821D C3 13 C5 1387 8221 C7 13 C9 1388 822589 8225 ; second section does test relocation90 8225 ; ===================================91 822592 8225 RELOCATE_START HIGH93 8225 ORG $000094 0000 ; relocation cases - word immediate instructions (relocation points at high byte)95 0000 21 26 00 ld hl,label196 0003 2A 26 00 ld hl,(label1)97 0006 22 26 00 ld (label1),hl98 0009 FD 21 26 00 ld iy,label199 000D FD 2A 26 00 ld iy,(label1)100 0011 FD 22 26 00 ld (label1),iy101 0015 11 26 00 ld de,label1102 0018 ED 5B 26 00 ld de,(label1)103 001C ED 53 26 00 ld (label1),de104 0020 3A 26 00 ld a,(label1)105 0023 32 26 00 ld (label1),a106 0026 label1:107 0026 CD 26 00 call label1108 0029 C3 26 00 jp label1109 002C ED 34 26 00 add hl,label1 ; z80n extras110 0030 11 26 00 66 s1 RELSTRUCT {,label1,,,{"text",0}}110 0034 55 44 AA 99110 0038 88 77 74 65110 003C 78 74 00 00111 0040 .end:112 0040 30 00 40 00 DW s1, s1.end, s1.Tribyte, s1.Text, $112 0044 33 00 3A 00112 0048 40 00113 004A114 004A ORG $0FF0115 0FF0 ; super special z80n extra, not working in regular full-word relocation mode116 0FF0 ED 8A 11 09 push label2 ; but these are possible in HIGH mode117 0FF4 ED 8A 00 11 push high label2118 0FF8119 0FF8 ORG $1101120 1101 ; relocation cases - byte immediate instructions (relocation points at immediate (high byte))121 1101 06 11 ld b,high label2122 1103 0E 11 ld c,high label2123 1105 16 11 ld d,high label2124 1107 1E 11 ld e,high label2125 1109 label2:126 1109 2E 11 ld l,high label2127 110B 26 11 ld h,high label2128 110D 36 11 ld (hl),high label2129 110F 3E 11 ld a,high label2130 1111 C6 11 add a,high label2131 1113 CE 11 adc a,high label2132 1115 D6 11 sub high label2133 1117 DE 11 sbc a,high label2134 1119 E6 11 and high label2135 111B EE 11 xor high label2136 111D F6 11 or high label2137 111F FE 11 cp high label2138 1121 ED 27 11 test high label2 ; z80n extras139 1124 ED 91 00 11 nextreg $00,high label2 ; z80n extras140 1128 ; IX block141 1128 DD 26 11 ld ixh,high label2142 112B DD 2E 11 ld ixl,high label2143 112E DD 36 7B 11 ld (ix+123),high label2144 1132 ; IY block145 1132 FD 26 11 ld iyh,high label2146 1135 FD 2E 11 ld iyl,high label2147 1138 FD 36 7B 11 ld (iy+123),high label2148 113C 11 11 00 66 s2 RELSTRUCT {high label2,high label2,,,{"ZX",0}}148 1140 55 44 AA 99148 1144 88 77 5A 58148 1148 00 6C 6F 00149 114C .end:150 114C 11 11 11 11 DB high s2, high s2.end, high s2.Tribyte, high s2.Text, high $150 1150 11151 1151 11 ABYTE 123 high label2-123152 1152 11 00 ABYTEZ 123 high label2-123153 1154154 1154 ; test EQU "transitiviness" and test word instruction with high byte only155 1154 ORG $1380156 1380 l2_high EQU high label2157 1380 C6 11 add a,l2_high ; is equ transitive (keeping high/regular knowledge)?158 1382 21 11 00 ld hl,l2_high159 1385 2A 11 00 ld hl,(l2_high)160 1388 22 11 00 ld (l2_high),hl161 138B FD 21 11 00 ld iy,l2_high162 138F FD 2A 11 00 ld iy,(l2_high)163 1393 FD 22 11 00 ld (l2_high),iy164 1397 11 11 00 ld de,l2_high165 139A ED 5B 11 00 ld de,(l2_high)166 139E ED 53 11 00 ld (l2_high),de167 13A2 3A 11 00 ld a,(l2_high)168 13A5 32 11 00 ld (l2_high),a169 13A8 CD 11 00 call l2_high170 13AB C3 11 00 jp l2_high171 13AE ED 35 11 00 add de,l2_high ; z80n extras172 13B2 11 11 00 66 s4 RELSTRUCT {,l2_high,,,{"text",0}}172 13B6 55 44 AA 99172 13BA 88 77 74 65172 13BE 78 74 00 00173 13C2 .end:174 13C2 13 00 13 00 DW high s4, high s4.end, high s4.Tribyte, high s4.Text, high $174 13C6 13 00 13 00174 13CA 13 00175 13CC176 13CC ORG $2200177 2200 ; no relocation cases178 2200 CF rst $08179 2201 09 3C 4C 3F DB low label2, low s2, low s2.end, low s2.Tribyte, low s2.Text, low $179 2205 46 01180 2207 01 E3 10 ld bc,label2 - label1181 220A 3E 09 ld a,low label2182 220C 3E 11 ld a,high label2 - high label1183 220E 36 11 ld (hl),high label2 - high label1184 2210 ; IX block185 2210 DD 36 09 7B ld (ix+low label2),123186 2214 DD 36 7B 09 ld (ix+123),low label2187 2218 DD 86 09 add a,(ix+low label2)188 221B DD 8E 09 adc a,(ix+low label2)189 221E DD 96 09 sub (ix+low label2)190 2221 DD 9E 09 sbc a,(ix+low label2)191 2224 DD A6 09 and (ix+low label2)192 2227 DD AE 09 xor (ix+low label2)193 222A DD B6 09 or (ix+low label2)194 222D DD BE 09 cp (ix+low label2)195 2230 DD CB 09 46 bit 0,(ix+low label2)196 2234 DD CB 7B 4E bit 7&low label2,(ix+123)197 2238 DD CB 09 86 res 0,(ix+low label2)198 223C DD CB 7B 8E res 7&low label2,(ix+123)199 2240 DD CB 09 C6 set 0,(ix+low label2)200 2244 DD CB 7B CE set 7&low label2,(ix+123)201 2248 ; IY block202 2248 FD 36 09 7B ld (iy+low label2),123203 224C FD 36 7B 09 ld (iy+123),low label2204 2250 FD 86 09 add a,(iy+low label2)205 2253 FD 8E 09 adc a,(iy+low label2)206 2256 FD 96 09 sub (iy+low label2)207 2259 FD 9E 09 sbc a,(iy+low label2)208 225C FD A6 09 and (iy+low label2)209 225F FD AE 09 xor (iy+low label2)210 2262 FD B6 09 or (iy+low label2)211 2265 FD BE 09 cp (iy+low label2)212 2268 FD CB 09 46 bit 0,(iy+low label2)213 226C FD CB 7B 4E bit 7&low label2,(iy+123)214 2270 FD CB 09 86 res 0,(iy+low label2)215 2274 FD CB 7B 8E res 7&low label2,(iy+123)216 2278 FD CB 09 C6 set 0,(iy+low label2)217 227C FD CB 7B CE set 7&low label2,(iy+123)218 2280219 2280 ORG $4400220 4400 ; unstable/can't be relocated by +offset mechanicsrelocation_high_1.asm(221): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable221 4400 D3 11 out (high label2),a ; exception: out (imm8),a is never relocatablerelocation_high_1.asm(222): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable222 4402 DB 11 in a,(high label2) ; exception: in a,(imm8) is never relocatablerelocation_high_1.asm(223): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable223 4404 ED 91 11 00 nextreg high label2,$00 ; z80n extras - register number is never relocatablerelocation_high_1.asm(224): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable224 4408 ED 92 11 nextreg high label2,a ; z80n extras - register number is never relocatable225 440B ; 16bit relocation should be warned against when only high-byte is possiblerelocation_high_1.asm(226): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable226 440B 06 26 ld b,label1 ; even if the label is 8bit value like $0026relocation_high_1.asm(227): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable227 440D 0E 26 ld c,label1relocation_high_1.asm(228): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable228 440F 16 26 ld d,label1relocation_high_1.asm(229): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable229 4411 1E 26 ld e,label1relocation_high_1.asm(230): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable230 4413 2E 26 ld l,label1relocation_high_1.asm(231): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable231 4415 26 26 ld h,label1relocation_high_1.asm(232): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable232 4417 36 26 ld (hl),label1relocation_high_1.asm(233): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable233 4419 3E 26 ld a,label1relocation_high_1.asm(234): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable234 441B C6 26 add a,label1relocation_high_1.asm(235): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable235 441D CE 26 adc a,label1relocation_high_1.asm(236): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable236 441F D6 26 sub label1relocation_high_1.asm(237): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable237 4421 DE 26 sbc a,label1relocation_high_1.asm(238): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable238 4423 E6 26 and label1relocation_high_1.asm(239): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable239 4425 EE 26 xor label1relocation_high_1.asm(240): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable240 4427 F6 26 or label1relocation_high_1.asm(241): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable241 4429 FE 26 cp label1relocation_high_1.asm(242): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable242 442B ED 27 26 test label1 ; z80n extrasrelocation_high_1.asm(243): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable243 442E ED 91 00 26 nextreg $00,label1 ; z80n extrasrelocation_high_1.asm(244): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable244 4432 26 33 22 66 s3 RELSTRUCT {label1,,,,{"ZX",0}}244 4436 55 44 AA 99244 443A 88 77 5A 58244 443E 00 6C 6F 00relocation_high_1.asm(245): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable245 4442 26 DB label1246 4443 ; IX blockrelocation_high_1.asm(247): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable247 4443 DD 26 26 ld ixh,label1relocation_high_1.asm(248): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable248 4446 DD 2E 26 ld ixl,label1relocation_high_1.asm(249): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable249 4449 DD 36 7B 26 ld (ix+123),label1relocation_high_1.asm(250): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable250 444D DD 36 11 7B ld (ix+high label2),123relocation_high_1.asm(251): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable251 4451 DD 86 11 add a,(ix+high label2)relocation_high_1.asm(252): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable252 4454 DD 8E 11 adc a,(ix+high label2)relocation_high_1.asm(253): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable253 4457 DD 96 11 sub (ix+high label2)relocation_high_1.asm(254): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable254 445A DD 9E 11 sbc a,(ix+high label2)relocation_high_1.asm(255): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable255 445D DD A6 11 and (ix+high label2)relocation_high_1.asm(256): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable256 4460 DD AE 11 xor (ix+high label2)relocation_high_1.asm(257): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable257 4463 DD B6 11 or (ix+high label2)relocation_high_1.asm(258): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable258 4466 DD BE 11 cp (ix+high label2)relocation_high_1.asm(259): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable259 4469 DD CB 11 06 rlc (ix+high label2)relocation_high_1.asm(260): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable260 446D DD CB 11 0E rrc (ix+high label2)relocation_high_1.asm(261): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable261 4471 DD CB 11 16 rl (ix+high label2)relocation_high_1.asm(262): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable262 4475 DD CB 11 1E rr (ix+high label2)relocation_high_1.asm(263): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable263 4479 DD CB 11 26 sla (ix+high label2)relocation_high_1.asm(264): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable264 447D DD CB 11 2E sra (ix+high label2)relocation_high_1.asm(265): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable265 4481 DD CB 11 36 sli (ix+high label2)relocation_high_1.asm(266): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable266 4485 DD CB 11 3E srl (ix+high label2)relocation_high_1.asm(267): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable267 4489 DD CB 11 46 bit 0,(ix+high label2)relocation_high_1.asm(268): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable268 448D DD CB 7B 4E bit 7&high label2,(ix+123)relocation_high_1.asm(269): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable269 4491 DD CB 11 86 res 0,(ix+high label2)relocation_high_1.asm(270): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable270 4495 DD CB 7B 8E res 7&high label2,(ix+123)relocation_high_1.asm(271): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable271 4499 DD CB 11 C6 set 0,(ix+high label2)relocation_high_1.asm(272): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable272 449D DD CB 7B CE set 7&high label2,(ix+123)273 44A1 ; IY blockrelocation_high_1.asm(274): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable274 44A1 FD 26 26 ld iyh,label1relocation_high_1.asm(275): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable275 44A4 FD 2E 26 ld iyl,label1relocation_high_1.asm(276): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable276 44A7 FD 36 7B 26 ld (iy+123),label1relocation_high_1.asm(277): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable277 44AB FD 36 11 7B ld (iy+high label2),123relocation_high_1.asm(278): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable278 44AF FD 86 11 add a,(iy+high label2)relocation_high_1.asm(279): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable279 44B2 FD 8E 11 adc a,(iy+high label2)relocation_high_1.asm(280): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable280 44B5 FD 96 11 sub (iy+high label2)relocation_high_1.asm(281): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable281 44B8 FD 9E 11 sbc a,(iy+high label2)relocation_high_1.asm(282): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable282 44BB FD A6 11 and (iy+high label2)relocation_high_1.asm(283): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable283 44BE FD AE 11 xor (iy+high label2)relocation_high_1.asm(284): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable284 44C1 FD B6 11 or (iy+high label2)relocation_high_1.asm(285): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable285 44C4 FD BE 11 cp (iy+high label2)relocation_high_1.asm(286): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable286 44C7 FD CB 11 06 rlc (iy+high label2)relocation_high_1.asm(287): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable287 44CB FD CB 11 0E rrc (iy+high label2)relocation_high_1.asm(288): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable288 44CF FD CB 11 16 rl (iy+high label2)relocation_high_1.asm(289): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable289 44D3 FD CB 11 1E rr (iy+high label2)relocation_high_1.asm(290): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable290 44D7 FD CB 11 26 sla (iy+high label2)relocation_high_1.asm(291): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable291 44DB FD CB 11 2E sra (iy+high label2)relocation_high_1.asm(292): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable292 44DF FD CB 11 36 sli (iy+high label2)relocation_high_1.asm(293): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable293 44E3 FD CB 11 3E srl (iy+high label2)relocation_high_1.asm(294): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable294 44E7 FD CB 11 46 bit 0,(iy+high label2)relocation_high_1.asm(295): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable295 44EB FD CB 7B 4E bit 7&high label2,(iy+123)relocation_high_1.asm(296): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable296 44EF FD CB 11 86 res 0,(iy+high label2)relocation_high_1.asm(297): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable297 44F3 FD CB 7B 8E res 7&high label2,(iy+123)relocation_high_1.asm(298): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable298 44F7 FD CB 11 C6 set 0,(iy+high label2)relocation_high_1.asm(299): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable299 44FB FD CB 7B CE set 7&high label2,(iy+123)300 44FF ; can't be relocated by +offsetrelocation_high_1.asm(301): warning[reldiverts]: Expression can't be relocated by simple "+offset" mechanics, value diverts differently.301 44FF 21 12 22 ld hl,label2+label2relocation_high_1.asm(302): warning[reldiverts]: Expression can't be relocated by simple "+offset" mechanics, value diverts differently.302 4502 21 84 08 ld hl,label2>>1relocation_high_1.asm(303): warning[reldiverts]: Expression can't be relocated by simple "+offset" mechanics, value diverts differently.303 4505 3E 22 ld a,high label2 + high label2304 4507 ; transitive EQU305 4507 l1_regular EQU label1relocation_high_1.asm(306): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable306 4507 C6 26 add a,l1_regular307 4509308 4509 ; ABYTE variants should report unstable when relocatable value is used for "offset" argumentrelocation_high_1.asm(309): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable309 4509 01 02 ABYTE high label1 1, 2relocation_high_1.asm(310): warning[relunstable]: Relocation makes one of the expressions unstable, resulting machine code is not relocatable310 450B 03 00 ABYTEZ high label1 3311 450D312 450D RELOCATE_END313 450Drelocation_high_1.asm(314): error: HIGH mode can't be mixed with regular mode314 450D RELOCATE_START ; check if regular-mode emits error about mixing modes315 450D# file closed: relocation_high_1.asmValue Label------ - -----------------------------------------------------------0x0026 l1_regular0x0011 l2_high0x0026 label10x1109 label20x004C relocate_count0x0098 relocate_size0x0010 X RELSTRUCT0x0000 X RELSTRUCT.Byte0x0006 X RELSTRUCT.Dword0x000A X RELSTRUCT.Text0x0003 X RELSTRUCT.Tribyte0x0001 X RELSTRUCT.Word0x0030 s10x0030 X s1.Byte0x0036 X s1.Dword0x0040 s1.end0x003A s1.Text0x0033 s1.Tribyte0x0031 X s1.Word0x113C s20x113C X s2.Byte0x1142 X s2.Dword0x114C s2.end0x1146 s2.Text0x113F s2.Tribyte0x113D X s2.Word0x4432 X s30x4432 X s3.Byte0x4438 X s3.Dword0x443C X s3.Text0x4435 X s3.Tribyte0x4433 X s3.Word0x13B2 s40x13B2 X s4.Byte0x13B8 X s4.Dword0x13C2 s4.end0x13BC s4.Text0x13B5 s4.Tribyte0x13B3 X s4.Word