Re: A (mild-mannered) defense of RosAsm
From: Herbert Kleebauer (klee_at_unibwm.de)
Date: 03/03/04
- Next message: Beth: "Re: Cost of calling a standard library function"
- Previous message: Betov: "Re: The Great Debate V. What have changed ?"
- In reply to: RoWsRaIrTiEo : "Re: A (mild-mannered) defense of RosAsm"
- Next in thread: Frank Kotler: "Re: A (mild-mannered) defense of RosAsm"
- Reply: Frank Kotler: "Re: A (mild-mannered) defense of RosAsm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 03 Mar 2004 15:40:50 +0100
RoWsRaIrTiEo wrote:
>
> On Mon, 23 Feb 2004 03:38, Frank Kotler <fbkotler@comcast.net> wrote:
> >putz:
> > pusha
> >
> > xor eax, eax
> >.find_len:
> > cmp [esi + eax], byte 1
> > inc eax
> > jnc .find_len
> >
> > push dword 0
> > push dword num_chars
> > push eax
> > push esi
> > push dword STDOUT
Does this really work? I think you have to push a handle
to STDOUT and not STDOUT itself (=-11) onto the stack.
Use GetStdHandle to get the handle (as in your code for
getc below).
> > call [WriteFile]
> > popa
> > ret
- Next message: Beth: "Re: Cost of calling a standard library function"
- Previous message: Betov: "Re: The Great Debate V. What have changed ?"
- In reply to: RoWsRaIrTiEo : "Re: A (mild-mannered) defense of RosAsm"
- Next in thread: Frank Kotler: "Re: A (mild-mannered) defense of RosAsm"
- Reply: Frank Kotler: "Re: A (mild-mannered) defense of RosAsm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|