Blame | Last modification | View Log | Download
# file opened: relocation_multiarg.asm1 0000 OPT --zxnext --syntax=abfw1 0000 ORG $12342 12343 1234 RELOCATE_START4 12345 1234 ASSERT 2 * relocate_count == relocate_size6 1234 ASSERT 12 == relocate_count7 1234 0C 00 dw relocate_count8 1236 18 00 dw relocate_size9 123810 1238 reloc1:11 1238 ; generate two relocation records:12 1238 21 38 12 01 ld hl,reloc1,,bc,reloc2-reloc1,,de,reloc1+5,,sp,absolute112 123C 52 00 11 3D12 1240 12 31 8A 1213 1244 C3 38 12 C3 jp reloc1,,reloc2-reloc1,,reloc1+5,,absolute113 1248 52 00 C3 3D13 124C 12 C3 8A 1214 1250 CD 38 12 CD call reloc1,,reloc2-reloc1,,reloc1+5,,absolute114 1254 52 00 CD 3D14 1258 12 CD 8A 1215 125C ED 34 38 12 add hl,reloc1,,bc,reloc2-reloc1,,de,reloc1+5,,hl,absolute1 ; Z80N extras15 1260 ED 36 52 0015 1264 ED 35 3D 1215 1268 ED 34 8A 1216 126C 2A 38 12 ED ld hl,(reloc1),,bc,(reloc2-reloc1),,de,(reloc1+5),,sp,(absolute1)16 1270 4B 52 00 ED16 1274 5B 3D 12 ED16 1278 7B 8A 1217 127B 22 38 12 ED ld (reloc1),hl,,(reloc2-reloc1),bc,,(reloc1+5),de,,(absolute1),sp17 127F 43 52 00 ED17 1283 53 3D 12 ED17 1287 73 8A 1218 128A19 128A reloc2:20 128A21 128A RELOCATE_END22 128A23 128A absolute1:24 128A25 128A 39 12 3F 12 RELOCATE_TABLE25 128E 45 12 4B 1225 1292 51 12 57 1225 1296 5E 12 66 1225 129A 6D 12 75 1225 129E 7C 12 84 1226 12A2 ; 39 12 ($1239) 3F 12 ($123F) ; ld r16,imm1627 12A2 ; 45 12 ($1245) 4B 12 ($124B) ; jp28 12A2 ; 51 12 ($1251) 57 12 ($1257) ; call29 12A2 ; 5E 12 ($125E) 66 12 ($1266) ; add r16,imm1630 12A2 ; 6D 12 ($126D) 75 12 ($1275) ; ld r16,(mem16)31 12A2 ; 7C 12 ($127C) 84 12 ($1284) ; ld (mem16),r1632 12A233 12A2 ASSERT 0 == 034 12A2 ASSERT 0 == 035 12A2# file closed: relocation_multiarg.asmValue Label------ - -----------------------------------------------------------0x128A absolute10x1238 reloc10x128A reloc20x000C relocate_count0x0018 relocate_size