mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 11:48:34 +02:00
z80: vasm doesn't support the JRJP pseudo instruction, so change it to JP during write
git-svn-id: trunk@45663 -
This commit is contained in:
parent
11fd466394
commit
cc23515927
@ -382,7 +382,10 @@ unit agz80vasm;
|
||||
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