Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
struct logical_op *insn = (struct logical_op *) pc;
if (unlikely(reg[REG_R0].type == REG_TYPE_UNKNOWN
struct logical_op *insn = (struct logical_op *) pc;
if (unlikely(reg[REG_R0].type == REG_TYPE_UNKNOWN
- || reg[REG_R0].type == REG_TYPE_UNKNOWN
+ || reg[REG_R1].type == REG_TYPE_UNKNOWN
|| reg[REG_R0].type == REG_STRING
|| reg[REG_R1].type == REG_STRING)) {
ERR("Logical comparator can only be applied to numeric and floating point registers\n");
|| reg[REG_R0].type == REG_STRING
|| reg[REG_R1].type == REG_STRING)) {
ERR("Logical comparator can only be applied to numeric and floating point registers\n");