Recent

Author Topic: [SOLVED] Compile unit without project  (Read 996 times)

julkas

  • Sr. Member
  • ****
  • Posts: 380
  • KISS principle / Lazarus 2.0.0 / FPC 3.0.4
Re: Compile unit without project
« Reply #30 on: August 12, 2019, 12:08:34 pm »
Nice. Works.
Well it works, but it does not take into account the compiler settings you configured in the Lazarus IDE.
That may be not what you expect or want. You can also not debug.
I want only fpc $EdFile()
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;