To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 1205
1204  |  1206
Subject: 
Re: H8/300 Assembler/C interface
Newsgroups: 
lugnet.robotics.rcx
Date: 
Thu, 19 Apr 2001 04:03:42 GMT
Viewed: 
1274 times
  
Ralph Hempel <rhempel@bmts.com> wrote:
The caller must clean up stack parameters b/c the return address is pushed
after parameters are.

Not necessarily, that's why I'm asking.

Yeah, you are right.  My bad.

-Kekoa



Message is in Reply To:
  RE: H8/300 Assembler/C interface
 
(...) Not necessarily, that's why I'm asking. If the caller cleans up the stack, then the function just does an RTS and the caller adjusts the stack because it knows how much stuff was pushed on. For programs with lots of calls, this generates extra (...) (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)

20 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR