mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +02:00
+ write a comment for the CPU directive in the sdcc-sdasz80 asm output
git-svn-id: branches/z80@44812 -
This commit is contained in:
parent
e86cd0df7a
commit
35742f4d0d
@ -828,6 +828,20 @@ unit agsdasz80;
|
|||||||
begin
|
begin
|
||||||
WriteInstruction(taicpu(hp));
|
WriteInstruction(taicpu(hp));
|
||||||
end;
|
end;
|
||||||
|
ait_directive :
|
||||||
|
begin
|
||||||
|
case tai_directive(hp).directive of
|
||||||
|
asd_cpu :
|
||||||
|
writer.AsmWriteLn('; CPU '+tai_directive(hp).name);
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
writer.AsmWrite(asminfo^.comment);
|
||||||
|
writer.AsmWrite('WARNING: not yet implemented in assembler output: ait_directive.');
|
||||||
|
Str(tai_directive(hp).directive,s);
|
||||||
|
writer.AsmWriteLn(s);
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
ait_marker :
|
ait_marker :
|
||||||
if tai_marker(hp).kind=mark_NoLineInfoStart then
|
if tai_marker(hp).kind=mark_NoLineInfoStart then
|
||||||
inc(InlineLevel)
|
inc(InlineLevel)
|
||||||
|
Loading…
Reference in New Issue
Block a user