summaryrefslogtreecommitdiffstats
path: root/src/coff/base/gpdis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coff/base/gpdis.cpp')
-rw-r--r--src/coff/base/gpdis.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/coff/base/gpdis.cpp b/src/coff/base/gpdis.cpp
index 2df4f24..abec54f 100644
--- a/src/coff/base/gpdis.cpp
+++ b/src/coff/base/gpdis.cpp
@@ -69,7 +69,7 @@ int Coff::disassemble(long int opcode, long int opcode2,
return 0;
case Pic::Architecture::P10X:
for(i = 0; i < num_op_12c5xx; i++) {
- if((op_12c5xx[i].mask & opcode) == op_12c5xx[i].opcode) {
+ if((op_12c5xx[i].tqmask & opcode) == op_12c5xx[i].opcode) {
instruction = &op_12c5xx[i];
break;
}
@@ -77,7 +77,7 @@ int Coff::disassemble(long int opcode, long int opcode2,
break;
/* case PROC_CLASS_SX:
for(i = 0; i < num_op_sx; i++) {
- if((op_sx[i].mask & opcode) == op_sx[i].opcode) {
+ if((op_sx[i].tqmask & opcode) == op_sx[i].opcode) {
instruction = &op_sx[i];
break;
}
@@ -86,7 +86,7 @@ int Coff::disassemble(long int opcode, long int opcode2,
*/
case Pic::Architecture::P16X:
for(i = 0; i < num_op_16cxx; i++) {
- if((op_16cxx[i].mask & opcode) == op_16cxx[i].opcode) {
+ if((op_16cxx[i].tqmask & opcode) == op_16cxx[i].opcode) {
instruction = &op_16cxx[i];
break;
}
@@ -94,7 +94,7 @@ int Coff::disassemble(long int opcode, long int opcode2,
break;
case Pic::Architecture::P17C:
for(i = 0; i < num_op_17cxx; i++) {
- if((op_17cxx[i].mask & opcode) == op_17cxx[i].opcode) {
+ if((op_17cxx[i].tqmask & opcode) == op_17cxx[i].opcode) {
instruction = &op_17cxx[i];
break;
}
@@ -105,7 +105,7 @@ int Coff::disassemble(long int opcode, long int opcode2,
case Pic::Architecture::P18J:
if (gp_decode_mnemonics) {
for(i = 0; i < num_op_18cxx_sp; i++) {
- if((op_18cxx_sp[i].mask & opcode) == op_18cxx_sp[i].opcode) {
+ if((op_18cxx_sp[i].tqmask & opcode) == op_18cxx_sp[i].opcode) {
instruction = &op_18cxx_sp[i];
break;
}
@@ -113,7 +113,7 @@ int Coff::disassemble(long int opcode, long int opcode2,
}
if (instruction == NULL) {
for(i = 0; i < num_op_18cxx; i++) {
- if((op_18cxx[i].mask & opcode) == op_18cxx[i].opcode) {
+ if((op_18cxx[i].tqmask & opcode) == op_18cxx[i].opcode) {
instruction = &op_18cxx[i];
break;
}
@@ -122,7 +122,7 @@ int Coff::disassemble(long int opcode, long int opcode2,
if ((instruction == NULL) && (gp_decode_extended)) {
/* might be from the extended instruction set */
for(i = 0; i < num_op_18cxx_ext; i++) {
- if((op_18cxx_ext[i].mask & opcode) == op_18cxx_ext[i].opcode) {
+ if((op_18cxx_ext[i].tqmask & opcode) == op_18cxx_ext[i].opcode) {
instruction = &op_18cxx_ext[i];
break;
}