mirror of
https://github.com/supleed2/ELEC40006-P1-CW.git
synced 2024-11-10 02:05:48 +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"){
|
}else if(opcode=="LSR"){
|
||||||
binary+="100001";
|
binary+="100001";
|
||||||
}else if(opcode=="ASR"){
|
}else if(opcode=="ASR"){
|
||||||
binary+="100011";
|
binary+="100010";
|
||||||
}else if(opcode=="ROR"){
|
}else if(opcode=="ROR"){
|
||||||
binary+="100100";
|
binary+="100100";
|
||||||
}else if(opcode=="RRC"){
|
}else if(opcode=="RRC"){
|
||||||
|
|
Loading…
Reference in a new issue