flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
mikawawa
I love FASM, but unfortunately I'm newb. So here is my first question:
How Can I use the C runtime library with FASM like memcpy and strlen etc? I need help, Please |
|||
![]() |
|
mikawawa
Walter wrote: Here is one way: thank you very much, bro. I checked the FASM api directory and I didnt find the msvcrt.inc, so I thought I couldnt import the CRT functions directly. thanks again |
|||
![]() |
|
mikawawa
BTW, in msdn there is a function called CopyMemory, but it is not imported from any library, if I want to use it with FASM, what should I do?
|
|||
![]() |
|
revolution
mikawawa wrote: BTW, in msdn there is a function called CopyMemory, but it is not imported from any library, if I want to use it with FASM, what should I do? Code: rep movsb ;<--- copy memory |
|||
![]() |
|
mikawawa
revolution wrote:
OK, I knew that. thanks all the same. |
|||
![]() |
|
JohnFound
mikawawa wrote: OK, I knew that. thanks all the same. Using external functions is of course important, for example for interfacing with the OS, but it should not be overused. Try to make the simple tasks in assembly way. It will be simpler, smaller and more readable. As always, the balance is important. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
![]() |
|
AsmGuru62
I think CopyMemory is a macro... I may be wrong, however.
|
|||
![]() |
|
revolution
AsmGuru62 wrote: I think CopyMemory is a macro... I may be wrong, however. http://msdn.microsoft.com/en-us/library/windows/desktop/aa366535%28v=vs.85%29.aspx |
|||
![]() |
|
mikawawa
revolution wrote:
Oh, damn it! I didn't check it online, because I have a local msdn, although it is a little older, but I thought it might not be much more different. Well, seems I was totally wrong, thank you, bro. I really appreciate it! |
|||
![]() |
|
revolution
mikawawa wrote: ... bro ... ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.