diff --git a/InstructionGenerator.cpp b/InstructionGenerator.cpp index e3d2aa9..05a70b5 100644 --- a/InstructionGenerator.cpp +++ b/InstructionGenerator.cpp @@ -240,7 +240,7 @@ string getInstructionHex(string instruction){ }else if(opcode=="LSR"){ binary+="100001"; }else if(opcode=="ASR"){ - binary+="100011"; + binary+="100010"; }else if(opcode=="ROR"){ binary+="100100"; }else if(opcode=="RRC"){