To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3643
3642  |  3644
Subject: 
Re: BrickOS Assembler
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 19 Jan 2004 12:05:38 GMT
Viewed: 
4152 times
  
In lugnet.robotics.rcx.legos, Michael Purvis wrote:
In lugnet.robotics.rcx.legos, Iain McInnes wrote:
1) Pass the variable to a function - the first function argument seems to be r0.

I need to access elements of a 2d array. I don't think this is an option for
that. Nevertheless, could you post code that demonstrates this?

You can easily experiment with this by inspecting the assembler output from gcc.

How do I do that?

In rethinking I think that compiling with the -S option will do what you want.
It should create a file with a .s suffix.  -S makes the compiler compile, but
not assemble.

Kevin

"YOU ARE A GENIUS!!!!!!  you can put that in your sig file!!!" Chris Magno



Message is in Reply To:
  Re: BrickOS Assembler
 
(...) I need to access elements of a 2d array. I don't think this is an option for that. Nevertheless, could you post code that demonstrates this? (...) How do I do that? (...) ??? (...) Hmm... this sounds more like what I'm trying to do. Someone? (...) (21 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)

11 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