mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 06:34:52 +01:00
* fixed indentation in TX86NasmAssembler.WriteHeader
git-svn-id: trunk@33139 -
This commit is contained in:
parent
06b9789928
commit
ca868b0bc6
@ -1191,27 +1191,27 @@ interface
|
||||
procedure TX86NasmAssembler.WriteHeader;
|
||||
begin
|
||||
{$if defined(i8086)}
|
||||
writer.AsmWriteLn('BITS 16');
|
||||
case current_settings.cputype of
|
||||
cpu_8086: writer.AsmWriteLn('CPU 8086');
|
||||
cpu_186: writer.AsmWriteLn('CPU 186');
|
||||
cpu_286: writer.AsmWriteLn('CPU 286');
|
||||
cpu_386: writer.AsmWriteLn('CPU 386');
|
||||
cpu_Pentium: writer.AsmWriteLn('CPU PENTIUM');
|
||||
cpu_Pentium2: writer.AsmWriteLn('CPU P2');
|
||||
cpu_Pentium3: writer.AsmWriteLn('CPU P3');
|
||||
cpu_Pentium4: writer.AsmWriteLn('CPU P4');
|
||||
cpu_PentiumM: writer.AsmWriteLn('CPU P4');
|
||||
else
|
||||
internalerror(2013050101);
|
||||
end;
|
||||
writer.AsmWriteLn('BITS 16');
|
||||
case current_settings.cputype of
|
||||
cpu_8086: writer.AsmWriteLn('CPU 8086');
|
||||
cpu_186: writer.AsmWriteLn('CPU 186');
|
||||
cpu_286: writer.AsmWriteLn('CPU 286');
|
||||
cpu_386: writer.AsmWriteLn('CPU 386');
|
||||
cpu_Pentium: writer.AsmWriteLn('CPU PENTIUM');
|
||||
cpu_Pentium2: writer.AsmWriteLn('CPU P2');
|
||||
cpu_Pentium3: writer.AsmWriteLn('CPU P3');
|
||||
cpu_Pentium4: writer.AsmWriteLn('CPU P4');
|
||||
cpu_PentiumM: writer.AsmWriteLn('CPU P4');
|
||||
else
|
||||
internalerror(2013050101);
|
||||
end;
|
||||
{$elseif defined(i386)}
|
||||
writer.AsmWriteLn('BITS 32');
|
||||
using_relative:=false;
|
||||
writer.AsmWriteLn('BITS 32');
|
||||
using_relative:=false;
|
||||
{$elseif defined(x86_64)}
|
||||
writer.AsmWriteLn('BITS 64');
|
||||
writer.AsmWriteLn('default rel');
|
||||
using_relative:=true;
|
||||
writer.AsmWriteLn('BITS 64');
|
||||
writer.AsmWriteLn('default rel');
|
||||
using_relative:=true;
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user