comparison 68kinst.c @ 116:9eaba47c429d

Implement pea (untested).
author Mike Pavone <pavone@retrodev.com>
date Fri, 28 Dec 2012 21:20:14 -0800
parents 8b50d2c975b2
children 3648abc45aec
comparison
equal deleted inserted replaced
115:11d72e471104 116:9eaba47c429d
548 decoded->extra.size = OPSIZE_BYTE; 548 decoded->extra.size = OPSIZE_BYTE;
549 istream = m68k_decode_op(istream, OPSIZE_BYTE, &(decoded->dst)); 549 istream = m68k_decode_op(istream, OPSIZE_BYTE, &(decoded->dst));
550 } else if((*istream & 0x1C0) == 0x40) { 550 } else if((*istream & 0x1C0) == 0x40) {
551 decoded->op = M68K_PEA; 551 decoded->op = M68K_PEA;
552 decoded->extra.size = OPSIZE_LONG; 552 decoded->extra.size = OPSIZE_LONG;
553 istream = m68k_decode_op(istream, OPSIZE_LONG, &(decoded->dst)); 553 istream = m68k_decode_op(istream, OPSIZE_LONG, &(decoded->src));
554 } 554 }
555 } 555 }
556 break; 556 break;
557 case 5: 557 case 5:
558 //BGND, ILLEGAL, TAS, TST 558 //BGND, ILLEGAL, TAS, TST