mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 17:13:02 +02:00
* translate jrjp to jp in the sdcc-sdasz80 asm writer
git-svn-id: trunk@45498 -
This commit is contained in:
parent
f71b6f341b
commit
195e7e0918
@ -343,7 +343,10 @@ unit agsdasz80;
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
writer.AsmWrite(#9#9+std_op2str[hp.opcode]);
|
||||
if hp.opcode=A_JRJP then
|
||||
writer.AsmWrite(#9#9'jp')
|
||||
else
|
||||
writer.AsmWrite(#9#9+std_op2str[hp.opcode]);
|
||||
if (taicpu(hp).ops<>0) or (hp.condition<>C_None) then
|
||||
begin
|
||||
writer.AsmWrite(#9);
|
||||
|
Loading…
Reference in New Issue
Block a user