Browse code

missing opcode.

Török Edvin authored on 2010/03/07 00:38:42
Showing 1 changed files
... ...
@@ -793,6 +793,10 @@ int cli_vm_execute(const struct cli_bc *bc, struct cli_bc_ctx *ctx, const struct
793 793
 		ptr->una_u64 = v;
794 794
 		break;
795 795
 	    }
796
+	    DEFINE_OP(OP_BC_ISBIGENDIAN) {
797
+		WRITE8(inst->dest, WORDS_BIGENDIAN);
798
+		break;
799
+	    }
796 800
 	    /* TODO: implement OP_BC_GEP1, OP_BC_GEP2, OP_BC_GEPN */
797 801
 	    default:
798 802
 		cli_errmsg("Opcode %u of type %u is not implemented yet!\n",