mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 00:19:25 +02:00
- removed the unused 's: topsize' parameter to TSdccSdasZ80Assembler.WriteOper
git-svn-id: branches/z80@44586 -
This commit is contained in:
parent
1b06b649a7
commit
c0b4e5c994
@ -47,7 +47,7 @@ unit agsdasz80;
|
|||||||
procedure WriteSection(atype:TAsmSectiontype;const aname:string;aorder:TAsmSectionOrder;secalign:longint;
|
procedure WriteSection(atype:TAsmSectiontype;const aname:string;aorder:TAsmSectionOrder;secalign:longint;
|
||||||
secflags:TSectionFlags=[];secprogbits:TSectionProgbits=SPB_None);
|
secflags:TSectionFlags=[];secprogbits:TSectionProgbits=SPB_None);
|
||||||
procedure WriteInstruction(hp: taicpu);
|
procedure WriteInstruction(hp: taicpu);
|
||||||
procedure WriteOper(const o:toper;s : topsize; opcode: tasmop;ops:longint;dest : boolean);
|
procedure WriteOper(const o:toper; opcode: tasmop;ops:longint;dest : boolean);
|
||||||
procedure WriteOper_jmp(const o:toper; ai : taicpu);
|
procedure WriteOper_jmp(const o:toper; ai : taicpu);
|
||||||
public
|
public
|
||||||
procedure WriteTree(p : TAsmList); override;
|
procedure WriteTree(p : TAsmList); override;
|
||||||
@ -308,14 +308,13 @@ unit agsdasz80;
|
|||||||
if is_calljmp(hp.opcode) then
|
if is_calljmp(hp.opcode) then
|
||||||
WriteOper_jmp(taicpu(hp).oper[i]^,hp)
|
WriteOper_jmp(taicpu(hp).oper[i]^,hp)
|
||||||
else
|
else
|
||||||
WriteOper(taicpu(hp).oper[i]^,S_B{taicpu(hp).opsize},hp.opcode,taicpu(hp).ops,(i=2));
|
WriteOper(taicpu(hp).oper[i]^,hp.opcode,taicpu(hp).ops,(i=2));
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
writer.AsmLn;
|
writer.AsmLn;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TSdccSdasZ80Assembler.WriteOper(const o: toper; s: topsize;
|
procedure TSdccSdasZ80Assembler.WriteOper(const o: toper; opcode: tasmop; ops: longint; dest: boolean);
|
||||||
opcode: tasmop; ops: longint; dest: boolean);
|
|
||||||
var
|
var
|
||||||
need_plus: Boolean;
|
need_plus: Boolean;
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user