public static void asm_rlf(Integer befehl, Prozessor cpu) {
		// TODO
		Integer f = getOpcodeFromToBit(befehl, 0, 6);
		Integer d = getOpcodeFromToBit(befehl, 7, 7);

		Integer result = cpu.getSpeicherzellenWert(f);
		result = result << 1;

		if(result > 255) {
			result -= 256;
			if(cpu.getStatus().getBit(bits.C)) {
				result++;	///Set Carrybit
			}
			cpu.getStatus().setBit(bits.C);
		}

		if(d == 1) {
			cpu.setSpeicherzellenWert(f, result, true);
		}
		else {
			cpu.setW(result, true);
		}
		cpu.incPC();
	}