flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > beginner : fasm macroinstruction learning walkthrough

Author
Thread Post new topic Reply to topic
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 27 Dec 2004, 06:02
it is a tutorial :-p,
it is for beginner


Description:
Download
Filename: macro_learning.rar
Filesize: 4.66 KB
Downloaded: 715 Time(s)

Post 27 Dec 2004, 06:02
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 27 Dec 2004, 21:04
Quote:

macro 17 (result)
flat assembler version 1.56
macro.txt [53]:
m_message 0x2222,0x4444,0x6666
macro.txt [51] m_message [4]:
mov edx,p2
error: invalid operand.

funny one! But instruction is "mov edx," here, not "mov edx,p2" (and fasmw outputs it that way, i don't know how about console fasm but i quess it should output it same)
Post 27 Dec 2004, 21:04
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 28 Dec 2004, 00:32
well, the console one really output mov edx,p2 :-p
and i check with fasmw, it only output mov edx, as u claimed Smile

why? r they using different architecture?
Post 28 Dec 2004, 00:32
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 28 Dec 2004, 20:55
interesting, fasmw DOES have somewhat different core i think, but this is really strange, I quess due to FASM philosophy they should beheave same way. Privalov?
Post 28 Dec 2004, 20:55
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 29 Dec 2004, 12:04
Console versions display the source line - the exact copy of the line from the source file. Since FASMW selects that line in the editor, there is no need to copy it again. Instead FASMW displays additionally the preprocessed symbols of the line that caused an error, in case when the error happened after or during the preprocessing of that line. It is not related to core in any way, FASMW's interface shows just a bit more of information.
Post 29 Dec 2004, 12:04
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 29 Dec 2004, 14:40
console fasm could display it too (instead of highlighting it displays source code line number), it may help finding preprocessor bugs.
Post 29 Dec 2004, 14:40
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.