mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:09:19 +02:00
+ handle fromsize>tosize in tcgz80.a_load_reg_reg
git-svn-id: branches/z80@44656 -
This commit is contained in:
parent
ce56125e40
commit
a419018ff0
@ -1323,7 +1323,7 @@ unit cgcpu;
|
|||||||
if (tcgsize2size[fromsize]>32) or (tcgsize2size[tosize]>32) or (fromsize=OS_NO) or (tosize=OS_NO) then
|
if (tcgsize2size[fromsize]>32) or (tcgsize2size[tosize]>32) or (fromsize=OS_NO) or (tosize=OS_NO) then
|
||||||
internalerror(2011021310);
|
internalerror(2011021310);
|
||||||
if tcgsize2size[fromsize]>tcgsize2size[tosize] then
|
if tcgsize2size[fromsize]>tcgsize2size[tosize] then
|
||||||
internalerror(2020040803);
|
fromsize:=tosize;
|
||||||
|
|
||||||
if (tosize=fromsize) or (fromsize in [OS_8,OS_16,OS_32]) then
|
if (tosize=fromsize) or (fromsize in [OS_8,OS_16,OS_32]) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user