flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > ccall? |
Author |
|
TDCNL 15 Apr 2006, 18:00
cinvoke
_________________ :: The Dutch Cracker :: |
|||
15 Apr 2006, 18:00 |
|
Patrick_ 15 Apr 2006, 18:03
I get 'illegal instruction'. I didn't include anything, by the way.
And just so you know, I'm using Linux. |
|||
15 Apr 2006, 18:03 |
|
Patrick_ 15 Apr 2006, 18:14
Alright, I included the include files from fasmw, but I get an error:
Quote: func.inc [280]: I probably don't need this macro, but I'd like to have it. How would I call C functions without it? Would I push each argument, or move them to eax, ebx, ecx... ? |
|||
15 Apr 2006, 18:14 |
|
UCM 15 Apr 2006, 22:01
uuuh.. it seems that `socket' doesn't exists. maybe you should define it somewhere...
|
|||
15 Apr 2006, 22:01 |
|
madmatt 15 Apr 2006, 22:54
You'll have to include the INCLUDE/APIA/WSOCK32.INC in your imports section, also include INCLUDE/EQUATES/WSOCK32.INC at the start of your program. look at the examples programs to see where and how to do this.
|
|||
15 Apr 2006, 22:54 |
|
TDCNL 19 Apr 2006, 19:52
you can also do this
Code:
include 'win32ax.inc'
then do this: Code: .code program: ;your code here end program Then the program automatically makes the import table for you and you don't have to define the API 'socket' _________________ :: The Dutch Cracker :: |
|||
19 Apr 2006, 19:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.