Author Topic: Procs with no definitions in EC64  (Read 3593 times)

K_F

  • Member
  • *****
  • Posts: 1771
  • Anybody out there?
Procs with no definitions in EC64
« on: January 14, 2018, 10:58:54 PM »
 Hi,
A quick question on this... I'm still a way off from compiling but I'll ask now anyway.

In EC64, is it possible to call a proc..

ECInvoke MyProc, Param1, Param2

.. and define the proc without Parameters.. and still have the parameters in RCX, RDX....etc

MyProc     Proc
  .
  ret
MyProc     endp


I'm only thinking of saving on writing down the parameter listing in the MyProc definition, but still use the ABI to access the passed parameters.

Thanks for a great IDE  :t
 8)
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

rsala

  • Moderator
  • Member
  • *****
  • Posts: 357
    • Easy Code
Re: Procs with no definitions in EC64
« Reply #1 on: January 15, 2018, 01:39:19 AM »
The answer is yes, it is possible!

Thanks for your kind words about The IDE.
 :t
EC coder