flat assembler
Message board for the users of flat assembler.

Index > Main > flat assembler 1.69.13

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



Joined: 18 Jul 2009
Posts: 549
edemko 10 May 2010, 21:11


Description:
Filesize: 8.23 KB
Viewed: 9758 Time(s)

understanding fasm.png


Post 10 May 2010, 21:11
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 17 Jun 2010, 13:00
Hi Tomasz.
I have been using Code::Blocks + MiniGW(http://www.codeblocks.org/downloads/26) for several days.
There is an "objdump.exe" utility in "\CodeBlocks\MinGW\bin\".
It produces disassembly listing and some more.
Then i found it could be used with fasmw.exe launched from tools/etc menu.
Watch its syntax:
Code:
objdump -D -Mintel %input_file% > %output_file%
rem %fasmw% %output_file%
rem notepad %output_file%
    

Actually i donot know if that is worth it is an offer only.
Post 17 Jun 2010, 13:00
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 29 Jun 2010, 17:57
Image


Description:
Filesize: 12.58 KB
Viewed: 9586 Time(s)

fallen_asleep_i_do_many_stupid_things.PNG


Post 29 Jun 2010, 17:57
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 04 Jul 2010, 12:52
Code:
push     [eax] ;ok when 'win32x.inc'
push     [eax] ;nok when 'win32ax.inc': "operand size not specified"
    

'win32x.inc' doesn't allow nesting too.
Trying to experiment with fasmw.exe sources i get an error as that uses 'win32x.inc' and i do not.
So i compile a DLL exporting functions for fasmw.exe. Feel stupido.
Can it be fixed?
Working for a Tool dialog box... tricky algos bumped agains my head when i ate pease... hope no more than 4KB of size will be added...
Post 04 Jul 2010, 12:52
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 04 Jul 2010, 15:00
Does 'win32x.inc' means 'win32*.inc'? In that case I've tried all of them but in all cases "operand size not specified" error happened.
Post 04 Jul 2010, 15:00
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 04 Jul 2010, 17:26
i beg your pardon for wrong names:
Code:
format pe gui 4.0
;include 'win32a.inc'
include 'win32ax.inc'


entry $
;        stdcall  p1,<stdcall  p2,0> ;"invalid operand" on win32a.inc
        stdcall  p1,[esp]           ;"operand size not specefied" on win32ax.inc
        ret


proc p1 param
        ret      4
endp



proc p2 param
        ret      4
endp
    
Post 04 Jul 2010, 17:26
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 07 Jul 2010, 07:06
Hi.
Fasmw tool menu rebuild(i deleted previous post).
Tomasz is asked now to do several line changes marked by ";;" only.
Also i'd like you(TG) setting %FasmVictim% variable etc when "assign to compiler" menu pressed + setting its constituent vars: path/name/extension.

edit 2010_07_09: added comments, removed gossips


Description:
Filesize: 14.62 KB
Viewed: 9394 Time(s)

tool.png


Description:
Download
Filename: fasmw_tool_menu.rar
Filesize: 79.6 KB
Downloaded: 459 Time(s)



Last edited by edemko on 08 Jul 2010, 22:04; edited 1 time in total
Post 07 Jul 2010, 07:06
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 07 Jul 2010, 16:17
fasmw.asm, ln. ~800:
Code:
      load_file:
        invoke  CreateFile,[lparam],GENERIC_READ,FILE_SHARE_READ,0,OPEN_EXISTING,0,0
        cmp     eax,-1
        je      open_failed
        mov     ebx,eax
        invoke  GetFileSize,ebx,NULL
        inc     eax
;; pushes
        push    eax
        invoke  VirtualAlloc,0,eax,MEM_COMMIT,PAGE_READWRITE
        or      eax,eax
;; will not pop, yes?
        jz      load_out_of_memory
        pop     ecx
    
Post 07 Jul 2010, 16:17
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 06 Aug 2010, 15:05
Image
Post 06 Aug 2010, 15:05
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8360
Location: Kraków, Poland
Tomasz Grysztar 06 Aug 2010, 15:46
Yeah, it's really high time for me to finish that plugin interface I promised. I may have some time for this two weeks from now. Well, I have the interface designed since at least five years, it's only the final implementation that I never really got into. Smile
Post 06 Aug 2010, 15:46
View user's profile Send private message Visit poster's website Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 09 Aug 2010, 04:07
Add "To Upper"/"To Lower" menu items please.


behind the post:
Tomasz, i created parallel topic at www.wasm.ru about those floats:
http://wasm.ru/forum/viewtopic.php?id=38222
The topic is useful.
Float To Text with no fpu, not checked:
http://wasm.ru/forum/viewtopic.php?id=35078
Post 09 Aug 2010, 04:07
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 796
Location: Massachusetts, USA
bitshifter 09 Aug 2010, 05:09
I would rather see 16bit obj support than some stupid plug-ins.
Maybe i can rally a crowd to prove how useful it really is...
Post 09 Aug 2010, 05:09
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 09 Aug 2010, 07:09
Quote:
Maybe i can rally a crowd to prove how useful it really is...

Somehow I doubt that...
Post 09 Aug 2010, 07:09
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:  
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.