Re: Unrolling FASM source code



"f0dder" <f0dder_nospam@xxxxxxxxxxxxxxxx> écrivait
news:4337c99f$0$84030$edfadb0f@xxxxxxxxxxxxxxxxxxxx:

> Betov wrote:
>
>> With Assemblers able to do it all without any Linker, like
>> RosAsm, the "Double shot" is useless. So, the call is, simply:
>
> Even with assemblers that require linkers (ie, MASM), you can still do
> the direct "call dword ptr [imp_MessageBoxA@16]" way - and even with
> INVOKEs, it's just about setting up the correct prototypes. I think
> hutch-- even included a tool with his masm32 package that creates
> these imports. Last time I checked, it was not the default though.

Yes, this is one of the durty hack, he implemented in
his C-Side Toy, in order to try to follow-up on RosAsm.

There were others.. :)


>> Since the oncoming of RosAsm, most Assemblers try to do it
>> this shortest and simpler way.
>
> Once you call an API "many" times, the "call do_jmp_import" way
> becomes shorter... but well, who cares really, it's not like it's
> going to mean a lot even in applications that do a LOT of calls :)

What do you mean? Shorter in Bytes counts?

.... If yes... yes, but i was talking of the Method,
not of the Bytes count.


Betov.

< http://rosasm.org >




.



Relevant Pages

  • Re: Structs in Assembly
    ... > Betov wrote: ... existing Assemblers. ... > been for you to convert it for use by MASM people. ... It never was HTML. ...
    (alt.lang.asm)
  • Re: Home brew Z80 CP/M computer
    ... nice pile of assemblers and linkers. ... But it doesn't say what the SLR tools do with it. ... The thing that I absolutely _LOVED_ about the SLR tools was how well they dealt with external references. ... Reading between the lines, it was easy enough to figure out that Steve had defined a stack machine to do the address calculations, and embedded that into the linker. ...
    (comp.os.cpm)
  • Re: Get HLA Training
    ... Betov will come in and trash this subject, so we might want to move ... > assembly (using HLA)"? ... Only three assemblers could be used for this. ... or the MASM Forum. ...
    (alt.lang.asm)
  • Re: Unrolling FASM source code
    ... At launch time, the OS reads the .Import Section, and it ... With Assemblers working with a Linker, ... RosAsm, ...
    (alt.lang.asm)
  • Re: potable sprintf for assemblers
    ... >> to allow use of libraries in just this sense. ... > them include a Linker, but, eventually... ... > 2) Many of the actual Assemblers are perfectly ... referencing these subroutines, you can save yourself a lot of time ...
    (alt.lang.asm)