On Thu, 26 Jul 2007, Graeme Geldenhuys wrote:
> [... not really Free Pascal related...]
>
> Seeing that it sounds like you enjoy assembly language. Maybe you
> would like the following assembly framework created by Gibson Research
> Corporation.
>
> Homepage with loads of utility apps for Wind
On 7/26/07, Skybuck Flying <[EMAIL PROTECTED]> wrote:
Maybe I do enjoy it, however the small is beautifull kit is for 32 bit
windows programming.
I really want 64 bit windows programming.
Maybe this can help: http://www.jorgon.freeserve.co.uk/
YASM is another option.
Cheers,
-Krishna
--
Your
On 26 Jul 2007, at 11:50, Michael Van Canneyt wrote:
The mode statement only applies to pascal syntax, never to assembler.
On i386, {$mode delphi} switches the default assembler reader mode
from AT&T to Intel style.
Jonas
___
fpc-pascal maillis
Maybe I do enjoy it, however the small is beautifull kit is for 32 bit
windows programming.
I really want 64 bit windows programming.
So I guess it's not for me ;)
Bye,
Skybuck.
- Original Message -
From: "Graeme Geldenhuys" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
S
[... not really Free Pascal related...]
Seeing that it sounds like you enjoy assembly language. Maybe you
would like the following assembly framework created by Gibson Research
Corporation.
Homepage with loads of utility apps for Windows.
http://www.grc.com/default.htm
Most popular freeware on
Hello,
I like free pascal compiler to generate an assembler listing of
HelloWorld.pas and fortunately it can do that which is really cool !
I simply type:
ppcrossx64 HelloWorld.pas -default
It then generates a HelloWorld.S file:
Here is a snipper from it ;)
; Begin asmlist al_procedures
Hello,
I found this link explaining some difference between AT&T and intel asm
syntax:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gnu-assembler/i386-syntax.html
So I tried to add q behind mov maybe that was the problem...
Kinda strange that mov is allowed to compile.
Anyway
Hello,
This is my first attempt at writing AT&T asm code and also 64 bit asm code:
The output is supposed to be 2^64 - 1 but it displays 2^32-1.
Did I program a bug ?
Or is the compiler bugged ?
Maybe writeln bugged ?
What's wrong ?
// *** Begin of Code ***
program HelloWorld;
{$mode delp
- Original Message -
From: "Michael Van Canneyt" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
Sent: Thursday, July 26, 2007 11:50 AM
Subject: Re: [fpc-pascal] fpc-2.1.4.x86_64-win64.exe: -Mdelphi not working ?
On Thu, 26 Jul 2007, Skybuck Flying wrote:
Ok,
I just rein
> On 26 Jul 2007, at 10:44, Skybuck Flying wrote:
> > stopping
> > Fatal: Compilation aborted
>
> I guess the Intel assembler syntax is simply not supported for
> x86-64. You will have to use AT&T syntax instead. Here are some
> google links to tutorials and overview documents:
> http://www.go
On 26 Jul 2007, at 10:44, Skybuck Flying wrote:
I just reinstalled fpc-2.1.4.x86_64-win64.exe:
And this time I used the -Mdelphi compiler switch but it still
gives problems:
Y:\Free Pascal\Tests\Hello World>ppcrossx64 HelloWorld.pas -Mdelphi
HelloWorld.pas(9,10) Error: Unknown identifier "
On Thu, 26 Jul 2007, Skybuck Flying wrote:
> Ok,
>
> I just reinstalled fpc-2.1.4.x86_64-win64.exe:
>
> And this time I used the -Mdelphi compiler switch but it still gives problems:
>
> Y:\Free Pascal\Tests\Hello World>ppcrossx64 HelloWorld.pas -Mdelphi
> HelloWorld.pas(9,10) Error: Unknown
Ok,
I just reinstalled fpc-2.1.4.x86_64-win64.exe:
And this time I used the -Mdelphi compiler switch but it still gives
problems:
Y:\Free Pascal\Tests\Hello World>ppcrossx64 HelloWorld.pas -Mdelphi
HelloWorld.pas(9,10) Error: Unknown identifier "EAX"
HelloWorld.pas(9,12) Error: Unknown identi
Yes, but the default syntax is AT&T, not Intel. I assume you are coming
from a Delphi background, so you can probably best solve this and many
future issues you would otherwise encounter by adding {$mode delphi} at
the top of all of your source files (or compile with - Mdelphi).
Jonas
On 26 Jul 2007, at 09:02, Skybuck Flying wrote:
Y:\Free Pascal\Tests\Hello World>ppcrossx64 HelloWorld
HelloWorld.pas(7,10) Error: Unknown identifier "EAX"
HelloWorld.pas(7,12) Error: Unknown identifier "ECX"
HelloWorld.pas(7,12) Error: Asm: [mov ???,???] invalid combination
of opcode and
op
Hello,
I downloaded and installed:
fpc-2.1.4.x86_64-win64.exe (beta)
I wrote a little Hello World program to test the compiler:
var
test : int64;
begin
writeln('Hello Free Pascal World !');
asm
mov eax, ecx
end;
writeln('Test: ', test );
readln;
end.
I get these errors:
Y:\Free Pascal\T
16 matches
Mail list logo