flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > listing for fasm 1.63 and higher

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
llaurrentt



Joined: 02 Nov 2006
Posts: 13
Location: Liège / Belgium
llaurrentt 04 Nov 2006, 09:04
rugxulo wrote:
llaurrentt, Prebuilt DOS .EXE works fine, but Win32 one won't generate a SYMBDUMP.TXT that isn't zero-bytes. Sad

Anyways, great job! (DOS rules, anyways) Laughing


Well, I must confess I have not tried both Win32 and DOS targets (as I do not own any of them (Linux rules Wink)) but I'll check anyway!
Post 04 Nov 2006, 09:04
View user's profile Send private message MSN Messenger Reply with quote
avost



Joined: 19 Mar 2007
Posts: 2
Location: Polotsk / Belorussia
avost 19 Mar 2007, 23:01
Hi Tomasz!

proc isHex stdcall chr:dword
mov eax, [ chr ]
.if( ( eax >= 'a' ) & ( eax <= 'f' ) )|( ( eax >= 'A' )&( eax <= 'F' ) )
mov eax, 1
.else
xor eax, eax
.endif
ret
endp

somewhere in main

stdcall isHex, 'a' ; not work

and

mov eax, 'a'
stdcall isHex, eax ; work fine
Post 19 Mar 2007, 23:01
View user's profile Send private message Reply with quote
avost



Joined: 19 Mar 2007
Posts: 2
Location: Polotsk / Belorussia
avost 19 Mar 2007, 23:05
additionally,

in first case argument is not pushed in stack

sorry for my bad English))
Post 19 Mar 2007, 23:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< 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.