home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,049 of 4,675   
   JJ to R.Wieser   
   Re: Borlands tasm32 v5, calling by point   
   11 Apr 20 10:01:33   
   
   From: jj4public@nospicedham.vfemail.net   
      
   On Fri, 10 Apr 2020 09:47:36 +0200, R.Wieser wrote:   
   >   
   > I'm not sure what you are saying there or where it should work ...   
   >   
   > The problem is the "call [@@pFunction]" line (not detecting an argument   
   > mismatch).  I should put either of the above in there ?   I tried that   
   > before posting, but the assembler just threw an error.   
      
   Here's a snippet from TASM5 User's Guide, Chapter 13, "Calling procedures   
   that have been prototyped".   
      
   [quote]   
   You can also use procedure types (declared with PROCTYPE) to supply a   
   distance and language, and force type-checking to occur. For example,   
      
     footype proctype pascal near :word, :dword, :word   
     .   
     .   
     call footype ptr[bx],ax,ds bx,cs ;no error!   
   [/quote]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca