helper.writePUSH(SoftByteCodes.EX_CLASSCAST); helper.writePUSH(0); helper.invokeJavaMethod(context.getSystemExceptionMethod());
os.writeMOV(INTSIZE, ECX, SP, 0);  os.writeTEST(ECX, ECX); os.writeJCC(okLabel, X86Constants.JZ);  instanceOf(okLabel);
	public final void visit_checkcast(VmConstClass classRef) {		//TODO: port to orp-style		OpcodeNotImplemented("checkcast");		vstack.push(eContext);		RefItem ref =  vstack.popRef();		vstack.pushItem(ref);				writeResolveAndLoadClassToEAX(classRef, S0);		final Label okLabel = new Label(this.curInstrLabel + "cc-ok");		/* objectref -> ECX (also leave in on the stack */		os.writeMOV(INTSIZE, ECX, SP, 0);		/* Is objectref null? */		os.writeTEST(ECX, ECX);		os.writeJCC(okLabel, X86Constants.JZ);		/* Is instanceof? */		instanceOf(okLabel);		/* Not instanceof */		// Call SoftByteCodes.systemException		helper.writePUSH(SoftByteCodes.EX_CLASSCAST);		helper.writePUSH(0);		helper.invokeJavaMethod(context.getSystemExceptionMethod());		/* Exception in EAX, throw it */		helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS);		/* Normal exit */		os.setObjectRef(okLabel);	}