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 / 1210
1209  |  1211
Subject: 
RE: H8/300 Assembler/C interface
Newsgroups: 
lugnet.robotics.rcx
Date: 
Fri, 20 Apr 2001 12:50:06 GMT
Viewed: 
1347 times
  
Kekoa wrote:

- 32-bit parameters never split between r2 and stack

I've just done some more browsing and found this tidbit:

<http://www.hmse.com/products/evk/faq/h8sgnu.htm#calling>

It seems to indicate that tghe registers are always filled
and that a long may be split across r2 and the stack.

Comments?

Cheers, Ralph



Message has 1 Reply:
  Re: H8/300 Assembler/C interface
 
(...) I wrote C code and then disassembled it. :) -Kekoa (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)

Message is in Reply To:
  Re: H8/300 Assembler/C interface
 
(...) Also: - caller cleans up parameters on stack - stack pointer is r7 The caller must clean up stack parameters b/c the return address is pushed after parameters are. -Kekoa (23 years ago, 18-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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