"Fossies" - the Fresh Open Source Software Archive

Member "fasm/examples/libcdemo/ccall.inc" (9 Feb 2020, 310 Bytes) of package /linux/misc/fasm-1.73.22.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) fasm source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 macro ccall proc,[arg]
    3   { common
    4      local size
    5      size = 0
    6      mov ebp,esp
    7      if ~ arg eq
    8     forward
    9      size = size + 4
   10     common
   11      sub esp,size
   12      end if
   13      and esp,-16
   14      if ~ arg eq
   15      add esp,size
   16     reverse
   17      pushd arg
   18     common
   19      end if
   20      call proc
   21      mov esp,ebp }
   22