// MATCHES AND AX, AND DX
//REGEX[2] - "AND [ABCD]X"
if (RegexMatcher.matches(regex0, getCurrentInstruction().getLineCommand())) {
// Pega o valor do registrador AX
Value value1 = getRegisters().getAx().getValue();
// Pega o valor do comando na posição definida pelo numero após o @
Value value2 = getInstructionAt(getCurrentInstruction().getValue()).getValue();
// Faz o "AND" e define em AX
getRegisters().getAx().setValue(ALU.and(value1, value2));
} else if (RegexMatcher.matches(regex1, getCurrentInstruction().getLineCommand())) {
// Pega o valor do registrador AX
Value value1 = getRegisters().getAx().getValue();
// Pega o valor da instrução atual
Value value2 = getCurrentInstruction().getValue();
// Faz o "AND" e define em AX
getRegisters().getAx().setValue(ALU.and(value1, value2));
} else if (RegexMatcher.matches(regex2, getCurrentInstruction().getLineCommand())) {
// Pega o valor do registrador AX
Value value1 = getRegisters().getAx().getValue();
// Pega o valor do registrador da instrução
Value value2 = getCurrentInstruction().getRegister().getValue();
// Faz o "AND" e define em AX
getRegisters().getAx().setValue(ALU.and(value1, value2));
}
}