public void updateViewFlags() {

		if( (memory[STATUS_ADDRESS] & (1<< 0)) == 0)
			zeroFlag = false;
		else zeroFlag = true;

		if( (memory[STATUS_ADDRESS] & (1<< 1)) == 0)
			negativeFlag = false;
		else negativeFlag = true;

		if( (memory[STATUS_ADDRESS]& (1<< 2)) == 0){
			carryFlag = false;
		}
		else carryFlag = true;

	}