flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > What this method call ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 2007
Roman 19 Oct 2025, 01:50
32 bits program.
I using cominvk and get this code:
Code:
cominvk SPEWorld,CreateShape  ;cominvk do push eax. it's corrupted stack
        
    


but dll do this method:
Code:
;What is the method ? comcall or ccall ?

mov ecx,[SPEWorld]
mov edx,[ecx]
call [edx+ISPEWorld.CreateShape] ;after ret stack right and not corrupted


    

comcall do push too as cominvk.
Post 19 Oct 2025, 01:50
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.