private void executeADD(String address)
    {
        try {
            // Get the value to be added.
            int toAdd = Integer.parseInt(address, 16);
            // Get the value of the toAdd variable from the memory table.
            String locationValue = (String) ASCView.getMemoryTable().getValueAt(toAdd, 0);

            // Get compliment if needed
            if (locationValue.substring(0, 1).equalsIgnoreCase("F")) {
                toAdd = getIntValueOfTwosComp(locationValue);
            } else if (locationValue.equalsIgnoreCase("dddd")) {
                toAdd = Integer.parseInt("0000", 16);
            } else {
                ASCView.setNegBit(false);
                toAdd = Integer.parseInt(locationValue, 16);
            }

            // Get the acc field value.
            String accValue = ASCView.getAccField();
            int acc = 0;
            int forCarry = 0;
            // Compliment if needed.
            // accValue.substring(0, 1).equalsIgnoreCase("F")
            if (accValue.substring(0, 1).equalsIgnoreCase("F")) {
                forCarry = Integer.parseInt(accValue, 16);
                acc = getIntValueOfTwosComp(accValue);
            } else {
                acc = Integer.parseInt(accValue, 16);
            }

            int resultForCarry = toAdd + forCarry;
            int result = toAdd + acc;
            String value = "";

            // Compliment if needed.
            if (result < 0) {
                ASCView.setNegBit(true);
                value = twosComp(result);
                ASCView.setAccumulator(formatText(value));
            } else {
                ASCView.setNegBit(false);
                ASCView.setAccumulator(formatText(Integer.toHexString(result)));
            }
            
            // Set the carry bit if needed.
            if (resultForCarry >=65536)
                ASCView.setCarBit(true);
            else
                ASCView.setCarBit(false);
            
        } catch (NumberFormatException nfe) {
            EmulatorControl.addError(new EmulatorError(">>ERROR<< AN ERROR OCCURED WITH THE ADD OPERATION.", 0));
        }
    }