X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdis6809.cpp;fp=src%2Fdis6809.cpp;h=5f42c5c102567d0467960b31493ffa9958ed519d;hb=e3ad811139308bfe8a818cf5e42e7553785fea82;hp=dbeeedab774006091318b3ac7fc95131433f5d5f;hpb=0c6f353827a94eb52c21e677658000f98452b247;p=stargem2 diff --git a/src/dis6809.cpp b/src/dis6809.cpp index dbeeeda..5f42c5c 100755 --- a/src/dis6809.cpp +++ b/src/dis6809.cpp @@ -191,7 +191,7 @@ iregs[4][2] = {"X", "Y", "U", "S" }; // // Display bytes in mem in hex // -static void DisplayBytes(uint16 src, uint32 dst) +static void DisplayBytes(uint16_t src, uint32_t dst) { char buf[20], buf2[20]; @@ -201,7 +201,7 @@ static void DisplayBytes(uint16 src, uint32 dst) if (src > dst) dst += 0x10000; // That should fix the FFFF bug... - for(uint32 i=src; i> 5), idxind = ((operand & 0x10) >> 4), + uint8_t reg = ((operand & 0x60) >> 5), idxind = ((operand & 0x10) >> 4), lo_nyb = (operand & 0x0F), boff; - uint16 woff; + uint16_t woff; strcpy(tmp, "??"); if (!(operand & 0x80)) // Hi bit set? Then decode 4 bit offset