/* Write the data from the opcode */
switch (inst.code.save) {
/* Byte */
	case S_C_Eb:
		inst.op1.b=inst.cond ? 1 : 0;
	case S_Eb:
		if (inst.rm<0xc0) SaveMb(inst.rm_eaa,inst.op1.b);
		else reg_8(inst.rm_eai)=inst.op1.b;
		break;	
	case S_Gb:
		reg_8(inst.rm_index)=inst.op1.b;
		break;	
	case S_EbGb:
		if (inst.rm<0xc0) SaveMb(inst.rm_eaa,inst.op1.b);
		else reg_8(inst.rm_eai)=inst.op1.b;
		reg_8(inst.rm_index)=inst.op2.b;
		break;	
/* Word */
	case S_Ew:
		if (inst.rm<0xc0) SaveMw(inst.rm_eaa,inst.op1.w);
		else reg_16(inst.rm_eai)=inst.op1.w;
		break;	
	case S_Gw:
		reg_16(inst.rm_index)=inst.op1.w;
		break;	
	case S_EwGw:
		if (inst.rm<0xc0) SaveMw(inst.rm_eaa,inst.op1.w);
		else reg_16(inst.rm_eai)=inst.op1.w;
		reg_16(inst.rm_index)=inst.op2.w;
		break;	
/* Dword */
	case S_Ed:
		if (inst.rm<0xc0) SaveMd(inst.rm_eaa,inst.op1.d);
		else reg_32(inst.rm_eai)=inst.op1.d;
		break;	
	case S_EdMw:		/* Special one 16 to memory, 32 zero extend to reg */
		if (inst.rm<0xc0) SaveMw(inst.rm_eaa,inst.op1.w);
		else reg_32(inst.rm_eai)=inst.op1.d;
		break;
	case S_Gd:
		reg_32(inst.rm_index)=inst.op1.d;
		break;	
	case S_EdGd:
		if (inst.rm<0xc0) SaveMd(inst.rm_eaa,inst.op1.d);
		else reg_32(inst.rm_eai)=inst.op1.d;
		reg_32(inst.rm_index)=inst.op2.d;
		break;	

	case S_REGb:
		reg_8(inst.code.extra)=inst.op1.b;
		break;
	case S_REGw:
		reg_16(inst.code.extra)=inst.op1.w;
		break;
	case S_REGd:
		reg_32(inst.code.extra)=inst.op1.d;
		break;	
	case S_SEGm:
		if (CPU_SetSegGeneral((SegNames)inst.rm_index,inst.op1.w)) RunException();
		break;
	case S_SEGGw:
		if (CPU_SetSegGeneral((SegNames)inst.code.extra,inst.op2.w)) RunException();
		reg_16(inst.rm_index)=inst.op1.w;
		break;
	case S_SEGGd:
		if (CPU_SetSegGeneral((SegNames)inst.code.extra,inst.op2.w)) RunException();
		reg_32(inst.rm_index)=inst.op1.d;
		break;
	case S_PUSHw:
		Push_16(inst.op1.w);
		break;
	case S_PUSHd:
		Push_32(inst.op1.d);
		break;

	case S_C_AIPw:
		if (!inst.cond) goto nextopcode;
	case S_AIPw:
		SaveIP();
		reg_eip+=inst.op1.d;
		reg_eip&=0xffff;
		continue;
	case S_C_AIPd:
		if (!inst.cond) goto nextopcode;
	case S_AIPd:
		SaveIP();
		reg_eip+=inst.op1.d;
		continue;
	case S_IPIw:
		reg_esp+=Fetchw();
	case S_IP:
		SaveIP();
		reg_eip=inst.op1.d;
		continue;
	case 0:
		break;
	default:
		LOG(LOG_CPU,LOG_ERROR)("SAVE:Unhandled code %d entry %X",inst.code.save,inst.entry);
}
