Results 1 to 1 of 1
Hallo!I am Lazarus Programming language newbie but with previous experience of using Borland Derlphi in Windows.
I have been trying to write assembly codes in Lazarus projects with little success.From ...
- 08-29-2007 #1Banned
- Join Date
- Aug 2007
- Posts
- 11
How does one write assembly code in Lazarus???
Hallo!I am Lazarus Programming language newbie but with previous experience of using Borland Derlphi in Windows.
I have been trying to write assembly codes in Lazarus projects with little success.From my Delphi experience ,I have constantly the possibility to switch in Assembly(ASM) mode by typing as below:
General Template
asm
... my assembly instructions...
end;
Example code that runs in Delphi
procedure TDIBUltra.RotateStyle (n : Byte); assembler;
asm // turn around the mask (N Modulo 32) times
MOV CL, n
ROL [Self].Mask, CL
End;
How can I write assembly code that will run in Lazarus installed in Linux?Please respond to my request as soon as possible with a syntax of such a code.Thanks in advance.


Reply With Quote