C -> assembler small function Help Me :)

From: Lukasz129 (ghuddrums_at_tlen.pl)
Date: 05/20/04


Date: Thu, 20 May 2004 19:52:42 +0000 (UTC)

Welcome

I try write this function in assembler. Can you help me, Thank You

long fun (long x, long y, char z)
{
return (x+y)<<z
}

Best Greetings Lukasz



Relevant Pages

  • Re: Calling asm from C
    ... char vendorbuf; ... agree with the ABI that the assembler routine expects. ... C compiler to use a different ABI, but this is likely to be a more ... void (*fx)(int *, int *), ...
    (alt.lang.asm)
  • Re: Accessing local variable
    ... Better use "const char*" instead. ... Is that a C99 change? ... although p was local to fun(), the string literal "happy" was not. ...
    (comp.lang.c)
  • Re: Beginner Learning Assembler
    ... >> with MASM before attempting GoAsm? ... > do is get a Windows API Reference book (the front ... cold as I can do assembler DOS and have some idea ... More fun than fun DOS so there you go! ...
    (alt.lang.asm)
  • Re: Linux X demo
    ... But i was just talking about having him in the KillFile, ... job of explaining (because of the new comers), what an Assembler ... best is to make fun of it... ...
    (alt.lang.asm)
  • Re: calling a function that returns a c_char from python
    ... implicit none ... character*fun ... have been typed as returning void instead of char*. ... type, value:: pstr ...
    (comp.lang.fortran)