mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 12:49:20 +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
|
var
|
||||||
i: Integer;
|
i: Integer;
|
||||||
begin
|
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
|
if (taicpu(hp).ops<>0) or (hp.condition<>C_None) then
|
||||||
begin
|
begin
|
||||||
writer.AsmWrite(#9);
|
writer.AsmWrite(#9);
|
||||||
|
Loading…
Reference in New Issue
Block a user