Post Reply 
Simple programming help with the Prime
06-09-2014, 09:22 PM
Post: #9
RE: Simple programming help with the Prime
Not sure exactly what you mean, but let's assume that your add program wants to take two arguments from the stack, add them together, leaving the sum on the stack, then the code woule look like this:
Code:
EXPORT ADD(X,Y)
BEGIN
  RETURN X+Y;
END;
and would be invoked as
Code:
ADD(2)
Does that make sense?

- John
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Simple programming help with the Prime - John R. Graham - 06-09-2014 09:22 PM



User(s) browsing this thread: 1 Guest(s)