Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.sys.cbm    |    Discussion about Commodore micros    |    53,866 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 52,883 of 53,866    |
|    Harry Potter to K-Guide    |
|    Re: Power C/asm: returning a value from     |
|    14 Dec 19 08:48:02    |
      From: rose.joseph12@yahoo.com              On Saturday, December 14, 2019 at 11:41:28 AM UTC-5, K-Guide wrote:       > On Sat 14-Dec-2019 5:17a, Harry Potter@3:770/3.0 said to Harry Potter:       > HP> I found it. :) Sorry for wasting your time. :(       >       > It is never a waste of time to ask a question, especially in a public forum       as       > others do learn from the dialog. You never know when a simple questions that       > has been asked before may spark insights or the imagination of the other       > readers.       >       > In your case, I am now courious how Power C does handle passing arguments and       > the return value from a function in assembler?       >       > [+] K-Guide              It seems that I have to pass the return value in the TOS, but what if the       function has no parameters or too few parameters?              --- 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