mirror of
https://github.com/supleed2/ELEC40006-P1-CW.git
synced 2024-12-22 13:35:49 +00:00
Fixed ASR in C++ generator
This commit is contained in:
parent
47f20744ac
commit
c2ce212ed5
|
@ -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"){
|
||||
|
|
Loading…
Reference in a new issue