1 |
/* |
/* |
2 |
* Copyright (C) 2005-2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2005-2007 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_m68k.c,v 1.14 2006/09/19 10:50:08 debug Exp $ |
* $Id: cpu_m68k.c,v 1.16 2006/12/30 13:30:54 debug Exp $ |
29 |
* |
* |
30 |
* Motorola 68K CPU emulation. |
* Motorola 68K CPU emulation. |
31 |
*/ |
*/ |
276 |
if (ib[1] >= 0x50 && ib[1] <= 0x57) { |
if (ib[1] >= 0x50 && ib[1] <= 0x57) { |
277 |
print_two(ib, &len); |
print_two(ib, &len); |
278 |
print_spaces(len); |
print_spaces(len); |
279 |
debug("linkw\t%%%s,#%i\n", m68k_aname[ib[1] & 7], |
debug("linkw\t%%%s,#%i\n", |
280 |
|
m68k_aname[ib[1] & 7], |
281 |
((ib[2] << 8) + ib[3])); |
((ib[2] << 8) + ib[3])); |
282 |
} else if (ib[1] >= 0x58 && ib[1] <= 0x5f) { |
} else if (ib[1] >= 0x58 && ib[1] <= 0x5f) { |
283 |
print_spaces(len); |
print_spaces(len); |