Subject:
|
Re: H8/300 Assembler/C interface
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Thu, 19 Apr 2001 04:03:42 GMT
|
Viewed:
|
1432 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 (...) (24 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
|
|
|
|