flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3 ... 7, 8, 9, 10, 11 Next |
Author |
|
arigity 08 Jun 2009, 17:11
Azu wrote: It isn't a new calling standard, it's just how the vararg function, wsprintf, should use stdcall.. so that code is smaller, and all the Windows functions will use the same standard. that does not make the limitations it imposes any less cumbersome. you messed up your PoC here pop ecx pusha pop edi pop esi pushad pushes all registers onto stack, what you pop off won't be function arguments but old registers. (see: killing usefullness of stack) |
|||
![]() |
|
revolution 08 Jun 2009, 17:14
Azu wrote: Same reason you put words in my mouth that I never said, which is even worse manners. |
|||
![]() |
|
Azu 08 Jun 2009, 17:15
arigity wrote:
Code: Pop the vararg registers off the stack as you need them (when you find %s in the format string) Happy now? Now let me sleep already |
|||
![]() |
|
Azu 08 Jun 2009, 17:16
revolution wrote:
Last edited by Azu on 08 Jun 2009, 17:17; edited 1 time in total |
|||
![]() |
|
revolution 08 Jun 2009, 17:17
Where do I misquote you? Nothing on page 7.
|
|||
![]() |
|
Azu 08 Jun 2009, 17:18
You're only two posts in that page, genius.
|
|||
![]() |
|
LocoDelAssembly 08 Jun 2009, 17:20
Azu wrote:
No, I don't, I have used the result of SETcc as an index for a string table where both fmt strings are stored. And your PoC should at least not crash, otherwise you are proposing something you don't even know if it could really work (which don't forget the point that will be seriously slower than simple cdecl if we consider your spoken proposal) Have a good night. |
|||
![]() |
|
Azu 08 Jun 2009, 17:22
LocoDelAssembly wrote:
![]() LocoDelAssembly wrote: And your PoC should at least not crash, otherwise you are proposing something you don't even know if it could really work (which don't forget the point that will be seriously slower than simple cdecl if we consider your spoken proposal) Since for some reason just describing the concept in plain English isn't enough, and posting a basic asm example isn't enough, I'll write the full function by hand tomorrow and post it here okay, so you can just drop it in and use it, straight copy and paste.. hopefully that will be enough for you guys =/ LocoDelAssembly wrote: Have a good night. Last edited by Azu on 08 Jun 2009, 17:26; edited 1 time in total |
|||
![]() |
|
revolution 08 Jun 2009, 17:25
Azu wrote: You're only two posts in that page, genius. |
|||
![]() |
|
Azu 08 Jun 2009, 17:27
revolution wrote:
|
|||
![]() |
|
arigity 08 Jun 2009, 17:28
Azu wrote:
without the pushad ebx, esi, edi aren't preserved thus another problem arises. mind you of course, that this already slows it down as apposed to cdecl, while limiting how you may use the function. p.s. go to sleep ![]() |
|||
![]() |
|
revolution 08 Jun 2009, 17:30
Azu wrote: You know what I mean. The first two. Now fuck off. ![]() |
|||
![]() |
|
Azu 08 Jun 2009, 17:32
So now you finally understand what I mean? Yes? That you tried to put words in my mouth. Okay, now you accept
Last edited by Azu on 08 Jun 2009, 17:34; edited 1 time in total |
|||
![]() |
|
revolution 08 Jun 2009, 17:34
No, I don't understand what you are getting at! You will need to explain more.
|
|||
![]() |
|
Azu 08 Jun 2009, 17:35
You agree with me, good, okay. That is wonderful. I am glad.
See? I can do it too, jackass. |
|||
![]() |
|
revolution 08 Jun 2009, 17:37
![]() |
|||
![]() |
|
Azu 08 Jun 2009, 17:39
So you don't like it either huh. Didn't think so. So don't do it to me.
Last edited by Azu on 08 Jun 2009, 17:39; edited 1 time in total |
|||
![]() |
|
revolution 08 Jun 2009, 17:39
Azu wrote: See? I can do it too, jackass. |
|||
![]() |
|
Azu 08 Jun 2009, 17:40
revolution wrote:
|
|||
![]() |
|
Goto page Previous 1, 2, 3 ... 7, 8, 9, 10, 11 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.