public String getMask() {
        StringBuilder mask = new StringBuilder();
        
        // Build Flag mask
        mask.append(isMemory() ? "1" : "0");
        mask.append(isOverflow() ? "1" : "0");
        mask.append(isNot() ? "1" : "0");
        mask.append(isCarry() ? "1" : "0");
        mask.append(isNegative() ? "1" : "0");
        mask.append(isZero() ? "1" : "0");
        
        return mask.toString();    
    }