183 |
|
for (j = 7 ; j >= 0 ; j--) { |
184 |
|
if (i & (1 << j)) break; |
185 |
|
} |
186 |
< |
fpp_movem_index1[i] = j; |
187 |
< |
fpp_movem_index2[i] = 7-j; |
186 |
> |
fpp_movem_index1[i] = 7-j; |
187 |
> |
fpp_movem_index2[i] = j; |
188 |
|
fpp_movem_next[i] = i & (~(1 << j)); |
189 |
|
} |
190 |
|
#if COUNT_INSTRS |
250 |
|
disp16 = get_iword_1 (m68kpc_offset); m68kpc_offset += 2; |
251 |
|
addr = m68k_areg(regs,reg) + (uae_s16)disp16; |
252 |
|
sprintf (buffer,"(A%d,$%04x) == $%08lx", reg, disp16 & 0xffff, |
253 |
< |
(long unsigned int)addr); |
253 |
> |
(unsigned long)addr); |
254 |
|
break; |
255 |
|
case Ad8r: |
256 |
|
dp = get_iword_1 (m68kpc_offset); m68kpc_offset += 2; |
283 |
|
dp & 0x8000 ? 'A' : 'D', (int)r, dp & 0x800 ? 'L' : 'W', |
284 |
|
1 << ((dp >> 9) & 3), |
285 |
|
disp,outer, |
286 |
< |
(long unsigned int)addr); |
286 |
> |
(unsigned long)addr); |
287 |
|
} else { |
288 |
|
addr = m68k_areg(regs,reg) + (uae_s32)((uae_s8)disp8) + dispreg; |
289 |
|
sprintf (buffer,"(A%d, %c%d.%c*%d, $%02x) == $%08lx", reg, |
290 |
|
dp & 0x8000 ? 'A' : 'D', (int)r, dp & 0x800 ? 'L' : 'W', |
291 |
|
1 << ((dp >> 9) & 3), disp8, |
292 |
< |
(long unsigned int)addr); |
292 |
> |
(unsigned long)addr); |
293 |
|
} |
294 |
|
break; |
295 |
|
case PC16: |
296 |
|
addr = m68k_getpc () + m68kpc_offset; |
297 |
|
disp16 = get_iword_1 (m68kpc_offset); m68kpc_offset += 2; |
298 |
|
addr += (uae_s16)disp16; |
299 |
< |
sprintf (buffer,"(PC,$%04x) == $%08lx", disp16 & 0xffff,(long unsigned int)addr); |
299 |
> |
sprintf (buffer,"(PC,$%04x) == $%08lx", disp16 & 0xffff,(unsigned long)addr); |
300 |
|
break; |
301 |
|
case PC8r: |
302 |
|
addr = m68k_getpc () + m68kpc_offset; |
330 |
|
dp & 0x8000 ? 'A' : 'D', (int)r, dp & 0x800 ? 'L' : 'W', |
331 |
|
1 << ((dp >> 9) & 3), |
332 |
|
disp,outer, |
333 |
< |
(long unsigned int)addr); |
333 |
> |
(unsigned long)addr); |
334 |
|
} else { |
335 |
|
addr += (uae_s32)((uae_s8)disp8) + dispreg; |
336 |
|
sprintf (buffer,"(PC, %c%d.%c*%d, $%02x) == $%08lx", dp & 0x8000 ? 'A' : 'D', |
337 |
|
(int)r, dp & 0x800 ? 'L' : 'W', 1 << ((dp >> 9) & 3), |
338 |
< |
disp8, (long unsigned int)addr); |
338 |
> |
disp8, (unsigned long)addr); |
339 |
|
} |
340 |
|
break; |
341 |
|
case absw: |
342 |
< |
sprintf (buffer,"$%08lx", (long unsigned int)(uae_s32)(uae_s16)get_iword_1 (m68kpc_offset)); |
342 |
> |
sprintf (buffer,"$%08lx", (unsigned long)(uae_s32)(uae_s16)get_iword_1 (m68kpc_offset)); |
343 |
|
m68kpc_offset += 2; |
344 |
|
break; |
345 |
|
case absl: |
346 |
< |
sprintf (buffer,"$%08lx", (long unsigned int)get_ilong_1 (m68kpc_offset)); |
346 |
> |
sprintf (buffer,"$%08lx", (unsigned long)get_ilong_1 (m68kpc_offset)); |
347 |
|
m68kpc_offset += 4; |
348 |
|
break; |
349 |
|
case imm: |
357 |
|
m68kpc_offset += 2; |
358 |
|
break; |
359 |
|
case sz_long: |
360 |
< |
sprintf (buffer,"#$%08lx", (long unsigned int)(get_ilong_1 (m68kpc_offset))); |
360 |
> |
sprintf (buffer,"#$%08lx", (unsigned long)(get_ilong_1 (m68kpc_offset))); |
361 |
|
m68kpc_offset += 4; |
362 |
|
break; |
363 |
|
default: |
377 |
|
case imm2: |
378 |
|
offset = (uae_s32)get_ilong_1 (m68kpc_offset); |
379 |
|
m68kpc_offset += 4; |
380 |
< |
sprintf (buffer,"#$%08lx", (long unsigned int)offset); |
380 |
> |
sprintf (buffer,"#$%08lx", (unsigned long)offset); |
381 |
|
break; |
382 |
|
case immi: |
383 |
|
offset = (uae_s32)(uae_s8)(reg & 0xff); |
384 |
< |
sprintf (buffer,"#$%08lx", (long unsigned int)offset); |
384 |
> |
sprintf (buffer,"#$%08lx", (unsigned long)offset); |
385 |
|
break; |
386 |
|
default: |
387 |
|
break; |