mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:29:17 +02:00
* use is_calljmp to determine whether to use WriteOper_jmp in the sdcc-sdasz80 asm writer. This fixes
asm output for call instructions. git-svn-id: branches/z80@44585 -
This commit is contained in:
parent
87eae35e2f
commit
1b06b649a7
@ -305,7 +305,7 @@ unit agsdasz80;
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
writer.AsmWrite(',');
|
writer.AsmWrite(',');
|
||||||
if hp.is_jmp then
|
if is_calljmp(hp.opcode) then
|
||||||
WriteOper_jmp(taicpu(hp).oper[i]^,hp)
|
WriteOper_jmp(taicpu(hp).oper[i]^,hp)
|
||||||
else
|
else
|
||||||
WriteOper(taicpu(hp).oper[i]^,S_B{taicpu(hp).opsize},hp.opcode,taicpu(hp).ops,(i=2));
|
WriteOper(taicpu(hp).oper[i]^,S_B{taicpu(hp).opsize},hp.opcode,taicpu(hp).ops,(i=2));
|
||||||
|
Loading…
Reference in New Issue
Block a user