mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 00:39:34 +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
|
||||
else
|
||||
writer.AsmWrite(',');
|
||||
if hp.is_jmp then
|
||||
if is_calljmp(hp.opcode) then
|
||||
WriteOper_jmp(taicpu(hp).oper[i]^,hp)
|
||||
else
|
||||
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