GUI: fixed another bug in BeaTokenizer with the string instructions (rep/repne prefix)

This commit is contained in:
Mr. eXoDia 2014-07-21 14:11:28 +02:00
parent 39a73ba838
commit ee899f85c1

View File

@ -138,6 +138,7 @@ void BeaTokenizer::Mnemonic(BeaInstructionToken* instr, const DISASM* disasm)
type=TokenMnemonicNop;
else if(completeInstr.contains("movs") || completeInstr.contains("cmps") || completeInstr.contains("scas") || completeInstr.contains("lods") || completeInstr.contains("stos") || completeInstr.contains("outs"))
{
completeInstr=completeInstr.replace("rep ", "").replace("repne ", "");
if(completeInstr.length()!=5)
{
AddToken(instr, type, mnemonic, 0);