* ensure register size is set properly by AndSxt2And

This commit is contained in:
florian 2024-07-06 22:12:52 +02:00
parent 8cafafc3e6
commit 5b03123bd4

View File

@ -1519,6 +1519,7 @@ Implementation
taicpu(hp1).opcode:=A_AND;
taicpu(hp1).ops:=3;
taicpu(hp1).loadReg(1,taicpu(p).oper[1]^.reg);
setsubreg(taicpu(hp1).oper[1]^.reg,getsubreg(taicpu(hp1).oper[0]^.reg));
taicpu(hp1).loadconst(2,taicpu(p).oper[2]^.val);
GetNextInstruction(p,hp1);
asml.remove(p);