<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Calling API from ML64 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-API-from-ML64/m-p/1714793#M177021</link>
    <description>&lt;P&gt;Good day.&amp;nbsp; This is not specifically a Fortran compiler question, however, it's close.&amp;nbsp; Perhaps someone knows the answer to this question.&lt;/P&gt;&lt;P&gt;In ml64, I can no longer use INVOKE, I must use CALL.&amp;nbsp; Does the CALL instruction still use the stack (i.e. PUSH)?&amp;nbsp; I cannot get this to work.&amp;nbsp; Thanks for any help.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Sep 2025 00:34:18 GMT</pubDate>
    <dc:creator>Ken_Woolridge</dc:creator>
    <dc:date>2025-09-03T00:34:18Z</dc:date>
    <item>
      <title>Calling API from ML64</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-API-from-ML64/m-p/1714793#M177021</link>
      <description>&lt;P&gt;Good day.&amp;nbsp; This is not specifically a Fortran compiler question, however, it's close.&amp;nbsp; Perhaps someone knows the answer to this question.&lt;/P&gt;&lt;P&gt;In ml64, I can no longer use INVOKE, I must use CALL.&amp;nbsp; Does the CALL instruction still use the stack (i.e. PUSH)?&amp;nbsp; I cannot get this to work.&amp;nbsp; Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 00:34:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-API-from-ML64/m-p/1714793#M177021</guid>
      <dc:creator>Ken_Woolridge</dc:creator>
      <dc:date>2025-09-03T00:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calling API from ML64</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-API-from-ML64/m-p/1714972#M177024</link>
      <description>&lt;P&gt;First 4 arguments are register, room for this made on stack, remaining args on stack&lt;/P&gt;&lt;P&gt;Default argument passing by reference.&lt;/P&gt;&lt;P&gt;Use BIND(C) for calling convention:&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;SUBROUTINE INTEROP_SUB (ARG) BIND(C,NAME="InteropSub")

FUNCTION INTEROP_FUN (ARG) BIND(C,NAME="InteropFun") RESULT (IAMFUN)&lt;/LI-CODE&gt;&lt;P&gt;Suggest you make an exemplative shell function in Fortran, enable assembly output with source, edit that down to minimal code, then fill-in the body of the function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 19:13:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Calling-API-from-ML64/m-p/1714972#M177024</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2025-09-03T19:13:09Z</dc:date>
    </item>
  </channel>
</rss>

