.func and .endfunc

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andreas

    #1

    .func and .endfunc

    Hi!

    I'm trying to compare is two different implementations gives the same
    result, and it almost does. When I compile my c-code I get a list-file
    containing Win32 assembler for my program.

    The only differance in two lines:
    File 1:
    ..func 82
    File 2:
    ..func 80

    File 1:
    250 .endfunc 155,000000016h
    File 2:
    250 .endfunc 153,000000016h

    Anyone know if .func and .endfunc affects the binary, or if it's only
    help code from the assembly compiler?

    Best Regards,
    /Andreas
  • Joona I Palaste

    #2
    Re: .func and .endfunc

    Andreas <d99alu@efd.lth .se> scribbled the following:[color=blue]
    > Hi![/color]
    [color=blue]
    > I'm trying to compare is two different implementations gives the same
    > result, and it almost does. When I compile my c-code I get a list-file
    > containing Win32 assembler for my program.[/color]
    [color=blue]
    > The only differance in two lines:
    > File 1:
    > .func 82
    > File 2:
    > .func 80[/color]
    [color=blue]
    > File 1:
    > 250 .endfunc 155,000000016h
    > File 2:
    > 250 .endfunc 153,000000016h[/color]
    [color=blue]
    > Anyone know if .func and .endfunc affects the binary, or if it's only
    > help code from the assembly compiler?[/color]

    This is completely implementation-specific and has nothing to do with
    the C language. Please ask in a newsgroup dedicated to your compiler.

    --
    /-- Joona Palaste (palaste@cc.hel sinki.fi) ------------- Finland --------\
    \-------------------------------------------------------- rules! --------/
    "All that flower power is no match for my glower power!"
    - Montgomery Burns

    Comment

    • Flash Gordon

      #3
      Re: .func and .endfunc

      On 7 Dec 2004 02:58:36 -0800
      d99alu@efd.lth. se (Andreas) wrote:
      [color=blue]
      > Hi!
      >
      > I'm trying to compare is two different implementations gives the same
      > result, and it almost does. When I compile my c-code I get a list-file
      > containing Win32 assembler for my program.
      >
      > The only differance in two lines:
      > File 1:
      > .func 82
      > File 2:
      > .func 80
      >
      > File 1:
      > 250 .endfunc 155,000000016h
      > File 2:
      > 250 .endfunc 153,000000016h
      >
      > Anyone know if .func and .endfunc affects the binary, or if it's only
      > help code from the assembly compiler?[/color]

      Since your question is about assembler not C what makes you think it is
      topical here? Go take it to a Win32 assembler group.
      --
      Flash Gordon
      Living in interesting times.
      Although my email address says spam, it is real and I read it.

      Comment

      Working...