* translate jrjp to jp in the sdcc-sdasz80 asm writer

git-svn-id: trunk@45498 -
This commit is contained in:
nickysn 2020-05-25 16:29:31 +00:00
parent f71b6f341b
commit 195e7e0918

View File

@ -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);