Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Assembly call in C

Assembly call in C

2006-05-16 by heedaf

Could someone please send me a sample of how to call assembly code in 
C with passing in a variable x and returning a variable y.  I have 
some assembly code that I need to call in my C program but I'm not 
sure how to do it.  Also, how do you store arrays in assembly.
Thanks,
Dewayne

Re: [lpc2000] Assembly call in C

2006-05-16 by David Hawkins

> Could someone please send me a sample of how to call assembly code in 
> C with passing in a variable x and returning a variable y.  I have 
> some assembly code that I need to call in my C program but I'm not 
> sure how to do it.  Also, how do you store arrays in assembly.

Hi Dewayne,

Just compile a C-function with the API form you want, eg.

int my_function(int val)
{
	return 2*val;
}

and compile it to assembler, eg. gcc -S my_function.c.

Then copy the .s file and edit it to contain your code
(there's lots of assembler junk you can remove, you can
figure out whats safe to detlete by iteratively deleting
code and trying to build/link a program that uses the function).

The ARM Procedure Calling Standard (APCS) defines the
way arguments are passed to and from functions, so you
can search for that on the web.

 > Also, how do you store arrays in assembly.

Can you explain? Why not pass a pointer and length to your
assembly code, eg.

int vector_sum(int *vec, int len);

then vec[] can be a statically allocated array,
stack array, malloc'ed array, etc.

Try not to use assembly code unless its for optimization.

Dave

Re: Assembly call in C

2006-05-16 by vaneenbergen

--- In lpc2000@yahoogroups.com, "heedaf" <ruffellfamily@...> wrote:
>
> Could someone please send me a sample of how to call assembly code 
in 
> C with passing in a variable x and returning a variable y.  I have 
> some assembly code that I need to call in my C program but I'm not 
> sure how to do it.  Also, how do you store arrays in assembly.
> Thanks,
> Dewayne
>

in gcc (i use rowley) the first 4 arguments are in R0 - R3, the rest 
will be put on stack (so best keep everything withing 4 arguments). 
the return will be in R0.

joost

Re: [lpc2000] Re: Assembly call in C

2006-05-16 by 42Bastian Schick

vaneenbergen schrieb:

> in gcc (i use rowley) the first 4 arguments are in R0 - R3, the rest 
> will be put on stack (so best keep everything withing 4 arguments). 
> the return will be in R0.

This is the (T)APCS standard by ARM. AFAIK all compilers for ARM are
doing like this.

-- 
42Bastian

What is the best way to control a monochrome LCD?

2006-05-16 by Sean

Hello everyone,

I'm still stuck trying to find the best way to control some 
monochrome LCDs that I have.  The 128x64s are easy because they have 
the controller (KS0713) built in to the device, however the 240x160 
and 320x240 require external controlling.  Typically you'd use a 
SED1335/S1D13305, but since you can't get those anymore what are the 
other options?  The S1D13370 is the "replacement" but has a much 
finer pin pitch, 80KB internal ram, and also $20 each.  I'm hoping to 
find something much cheaper.  What options are there?  This will be 
connected to an LPC2148 micro.

Thanks,

-- Sean

Re: [lpc2000] What is the best way to control a monochrome LCD?

2006-05-16 by Herbert Demmel

Sean,

there is a replacement for the SED1335 from a Taiwanese manufacturer called 
RA8835P4N (from RAIO) but as you are speaking about 20 US$ for the S1D13700 
I suppose you rather need small quantities only and I assume you will not 
get the RAIO chip if you do not order huge quantities.

As far as I know there is nothing "much cheaper" than the S1D13700 
especially when needing small quantities. Do not forget to add the costs 
for the SRAM when using the SED1335 / RAIO chip.

How many chips would you need for your project? I can ask our Taiwanese LCD 
manfuacturer if they sell us 100+ pcs of the RAIO chip.

Herbert

At 02:12 16.05.2006 -0400, you wrote:
>Hello everyone,
>
>I'm still stuck trying to find the best way to control some
>monochrome LCDs that I have.  The 128x64s are easy because they have
>the controller (KS0713) built in to the device, however the 240x160
>and 320x240 require external controlling.  Typically you'd use a
>SED1335/S1D13305, but since you can't get those anymore what are the
>other options?  The S1D13370 is the "replacement" but has a much
>finer pin pitch, 80KB internal ram, and also $20 each.  I'm hoping to
>find something much cheaper.  What options are there?  This will be
>connected to an LPC2148 micro.
>
>Thanks,
>
>-- Sean

----------------------------------------------------------
demmel products
Radnitzkygasse 43
A-1100 Vienna / Austria / Europe
Voice: +43-1-6894700-0
Fax: +43-1-6894700-40
Email: dh@...
WWW: http://www.demmel.com

Re: [lpc2000] What is the best way to control a monochrome LCD?

2006-05-16 by sriram karunagaran

Dear Sean,

Try Amulet GRAPHICAL OS CONTROLLER CHIP for monochrome LCD, it is around $30, with good features.

Thanks,
Sriram.K

Herbert Demmel <dh2@demmel.com> wrote:    Sean,
 
 there is a replacement for the SED1335 from a Taiwanese manufacturer called 
 RA8835P4N (from RAIO) but as you are speaking about 20 US$ for the S1D13700 
 I suppose you rather need small quantities only and I assume you will not 
 get the RAIO chip if you do not order huge quantities.
 
 As far as I know there is nothing "much cheaper" than the S1D13700 
 especially when needing small quantities. Do not forget to add the costs 
 for the SRAM when using the SED1335 / RAIO chip.
 
 How many chips would you need for your project? I can ask our Taiwanese LCD 
 manfuacturer if they sell us 100+ pcs of the RAIO chip.
 
 Herbert
 
 At 02:12 16.05.2006 -0400, you wrote:
 >Hello everyone,
 >
 >I'm still stuck trying to find the best way to control some
 >monochrome LCDs that I have.  The 128x64s are easy because they have
 >the controller (KS0713) built in to the device, however the 240x160
 >and 320x240 require external controlling.  Typically you'd use a
 >SED1335/S1D13305, but since you can't get those anymore what are the
 >other options?  The S1D13370 is the "replacement" but has a much
 >finer pin pitch, 80KB internal ram, and also $20 each.  I'm hoping to
 >find something much cheaper.  What options are there?  This will be
 >connected to an LPC2148 micro.
 >
 >Thanks,
 >
 >-- Sean
 
 ----------------------------------------------------------
 demmel products
 Radnitzkygasse 43
 A-1100 Vienna / Austria / Europe
 Voice: +43-1-6894700-0
 Fax: +43-1-6894700-40
 Email: dh@...
 WWW: http://www.demmel.com
 
            

        SPONSORED LINKS   
                                                    Microcontrollers                                       Microprocessor                                       Intel microprocessors                                                                 
      
---------------------------------
   YAHOO! GROUPS LINKS 
 
    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 
    
---------------------------------
 
 
     

		
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.

[Non-text portions of this message have been removed]

Re: [lpc2000] What is the best way to control a monochrome LCD?

2006-05-16 by Sean

I am very surprised.

Controlling a decent sized LCD is not an unusual 
thing to do -- why are there no cheap solutions??

Has anyone had any luck with the RA8835 
chip?  It's supposed to be a drop-in replacement 
for the SED1335 but I can't figure out where to buy it!

The Freescale MC908 looks like it might work as 
well, except I can't find any documentation on it 
and the freescale site is very broken.

There must be another way...

-- Sean

At 11:04 5/16/06, you wrote:
Show quoted textHide quoted text
>Dear Sean,
>
>Try Amulet GRAPHICAL OS CONTROLLER CHIP for 
>monochrome LCD, it is around $30, with good features.
>
>Thanks,
>Sriram.K
>
>Herbert Demmel <dh2@...> wrote:    Sean,
>
>there is a replacement for the SED1335 from a Taiwanese manufacturer called
>RA8835P4N (from RAIO) but as you are speaking about 20 US$ for the S1D13700
>I suppose you rather need small quantities only and I assume you will not
>get the RAIO chip if you do not order huge quantities.
>
>As far as I know there is nothing "much cheaper" than the S1D13700
>especially when needing small quantities. Do not forget to add the costs
>for the SRAM when using the SED1335 / RAIO chip.
>
>How many chips would you need for your project? I can ask our Taiwanese LCD
>manfuacturer if they sell us 100+ pcs of the RAIO chip.
>
>Herbert
>
>At 02:12 16.05.2006 -0400, you wrote:
> >Hello everyone,
> >
> >I'm still stuck trying to find the best way to control some
> >monochrome LCDs that I have.  The 128x64s are easy because they have
> >the controller (KS0713) built in to the device, however the 240x160
> >and 320x240 require external controlling.  Typically you'd use a
> >SED1335/S1D13305, but since you can't get those anymore what are the
> >other options?  The S1D13370 is the "replacement" but has a much
> >finer pin pitch, 80KB internal ram, and also $20 each.  I'm hoping to
> >find something much cheaper.  What options are there?  This will be
> >connected to an LPC2148 micro.
> >
> >Thanks,
> >
> >-- Sean
>
>----------------------------------------------------------
>demmel products
>Radnitzkygasse 43
>A-1100 Vienna / Austria / Europe
>Voice: +43-1-6894700-0
>Fax: +43-1-6894700-40
>Email: dh@demmel.com
>WWW: <http://www.demmel.com>http://www.demmel.com
>
>
>
>         SPONSORED LINKS
> 
>Microcontrollers 
>Microprocessor 
>Intel 
>microprocessors 
>
>
>---------------------------------
>    YAHOO! GROUPS LINKS
>
>
>     Visit your group "lpc2000" on the web.
>
>     To unsubscribe from this group, send an email to:
>lpc2000-unsubscribe@yahoogroups.com
>
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>---------------------------------
>
>
>
>
>
>---------------------------------
>Blab-away for as little as 1¢/min. 
>Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.
>
>[Non-text portions of this message have been removed]
>
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group 
> "<http://groups.yahoo.com/group/lpc2000>lpc2000" on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to 
> the <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

Re: What is the best way to control a monochrome LCD?

2006-05-16 by rtstofer

--- In lpc2000@yahoogroups.com, Sean <embeddedrelated@...> wrote:
>
> I am very surprised.
> 
> Controlling a decent sized LCD is not an unusual 
> thing to do -- why are there no cheap solutions??
> 
> Has anyone had any luck with the RA8835 
> chip?  It's supposed to be a drop-in replacement 
> for the SED1335 but I can't figure out where to buy it!
> 
> The Freescale MC908 looks like it might work as 
> well, except I can't find any documentation on it 
> and the freescale site is very broken.
> 
> There must be another way...
> 
> -- Sean

No problem whatsoever with the Intel PXA255.  The LCD controller is
one of the internal gadgets.  This is an ARM9 and runs Linux - see
www.gumstix.com.

There is a driver built into the kernel and documentation is available
on how to activate it.

It is worth knowing that http://www.nyx.net/%7Ejpurbric/lcd/ has a
schematic for a controller based on the PIC16F877.  However, source is
not offered and there are some glitches according to the author.

I am in the process of building a simple ASCII terminal using this
display (640x480 - monochrome) http://tinyurl.com/lmcoh,  I plan to
use the Atmel ATmega128 because I don't want to be bothered with 3.3V
-> 5V translation.  If it wasn't for that little problem, I would just
use the LPC2106.  In either case, the character generator will be in
flash and the frame buffer will be external - DRAM initially but
probably SRAM later on.

I built this Z80 with CP/M project on an FPGA a couple of years ago. 
Now I would like to delete the VGA output and use the LCD ASCII
terminal with TeleVideo TV950 emulation.  Eventually, I would like to
port the LCD controller to the FPGA but I am short of pins.  Hm...

Richard

RE: [lpc2000] Re: Assembly call in C

2006-05-16 by Woolsey Matt

>
>vaneenbergen schrieb:
>
>> in gcc (i use rowley) the first 4 arguments are in R0 - R3, the rest 
>> will be put on stack (so best keep everything withing 4 arguments). 
>> the return will be in R0.
>
>This is the (T)APCS standard by ARM. AFAIK all compilers for ARM are
>doing like this.
>
>-- 
>42Bastian
>


Keil compiler for ARM does not use APCS.

Re: [lpc2000] Re: Assembly call in C

2006-05-17 by family account

I'm also using Rowley.  Is it done the same way?  Can you give me more detail?  I'm new to assembly.
Thanks,
Dewayne
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: vaneenbergen 
  To: lpc2000@yahoogroups.com 
  Sent: Monday, May 15, 2006 10:23 PM
  Subject: [lpc2000] Re: Assembly call in C


  --- In lpc2000@yahoogroups.com, "heedaf" <ruffellfamily@...> wrote:
  >
  > Could someone please send me a sample of how to call assembly code 
  in 
  > C with passing in a variable x and returning a variable y.  I have 
  > some assembly code that I need to call in my C program but I'm not 
  > sure how to do it.  Also, how do you store arrays in assembly.
  > Thanks,
  > Dewayne
  >

  in gcc (i use rowley) the first 4 arguments are in R0 - R3, the rest 
  will be put on stack (so best keep everything withing 4 arguments). 
  the return will be in R0.

  joost






------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "lpc2000" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]

Re: [lpc2000] Re: What is the best way to control a monochrome LCD?

2006-05-17 by Sean

What about micros like this:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC908LD64

The digikey description says that it can handle LCDs but the 
datasheet says that it's VGA/SVGA/etc style output.  This is actually 
the old part, the RoHS part number is MC908LD64IFUE so maybe it was 
changed, but I can't find a datasheet for that part.

In any case this part isn't very expensive (much cheaper than SED chips!).

Thanks,

-- Sean

At 15:37 5/16/06, you wrote:
Show quoted textHide quoted text
>--- In lpc2000@yahoogroups.com, Sean <embeddedrelated@...> wrote:
> >
> > I am very surprised.
> >
> > Controlling a decent sized LCD is not an unusual
> > thing to do -- why are there no cheap solutions??
> >
> > Has anyone had any luck with the RA8835
> > chip?  It's supposed to be a drop-in replacement
> > for the SED1335 but I can't figure out where to buy it!
> >
> > The Freescale MC908 looks like it might work as
> > well, except I can't find any documentation on it
> > and the freescale site is very broken.
> >
> > There must be another way...
> >
> > -- Sean
>
>No problem whatsoever with the Intel PXA255.  The LCD controller is
>one of the internal gadgets.  This is an ARM9 and runs Linux - see
>www.gumstix.com.
>
>There is a driver built into the kernel and documentation is available
>on how to activate it.
>
>It is worth knowing that 
><http://www.nyx.net/%7Ejpurbric/lcd/>http://www.nyx.net/%7Ejpurbric/lcd/ has a
>schematic for a controller based on the PIC16F877.  However, source is
>not offered and there are some glitches according to the author.
>
>I am in the process of building a simple ASCII terminal using this
>display (640x480 - monochrome) 
><http://tinyurl.com/lmcoh,>http://tinyurl.com/lmcoh,  I plan to
>use the Atmel ATmega128 because I don't want to be bothered with 3.3V
>-> 5V translation.  If it wasn't for that little problem, I would just
>use the LPC2106.  In either case, the character generator will be in
>flash and the frame buffer will be external - DRAM initially but
>probably SRAM later on.
>
>I built this Z80 with CP/M project on an FPGA a couple of years ago.
>Now I would like to delete the VGA output and use the LCD ASCII
>terminal with TeleVideo TV950 emulation.  Eventually, I would like to
>port the LCD controller to the FPGA but I am short of pins.  Hm...
>
>Richard
>
>
>
>
>
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group 
> "<http://groups.yahoo.com/group/lpc2000>lpc2000" on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

Re: [lpc2000] Re: Assembly call in C

2006-05-17 by 42Bastian Schick

Woolsey Matt schrieb:
> 
> Keil compiler for ARM does not use APCS.

Are you sure ? How does it Keil ?

-- 
42Bastian

CERTIFICATION in EMBEDDED SYSTEMS

2006-05-17 by selva kumar

Hello Everyone,
                                        This is Selva.Could any one of you help me in getting the details for doing CERTIFICATION in EMBEDDED SYSTEMS.I'm very new to this field as a professional.Help me out.
   
   
   
  Thanks n Regards 
  Selva

				
---------------------------------
 Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo! Answers India
 Send instant messages to your online friends - NOW

[Non-text portions of this message have been removed]

RE: [lpc2000] CERTIFICATION in EMBEDDED SYSTEMS

2006-05-17 by Andrew Berney

Could you be a little more specific? certification for what exactly - you as
an individual? A product for safety critical environments? etc

Andy
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
Of selva kumar
Sent: 17 May 2006 07:52
To: lpc2000@yahoogroups.com
Subject: [lpc2000] CERTIFICATION in EMBEDDED SYSTEMS


Hello Everyone,
                                        This is Selva.Could any one of you
help me in getting the details for doing CERTIFICATION in EMBEDDED
SYSTEMS.I'm very new to this field as a professional.Help me out.



  Thanks n Regards
  Selva


---------------------------------
 Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo!
Answers India
 Send instant messages to your online friends - NOW

[Non-text portions of this message have been removed]





Yahoo! Groups Links

Re: Assembly call in C

2006-05-17 by brendanmurphy37

--- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@...> 
wrote:
>
> Woolsey Matt schrieb:
> > 
> > Keil compiler for ARM does not use APCS.
> 
> Are you sure ? How does it Keil ?
> 
> -- 
> 42Bastian
>

A quick look at the following would seem to indicate Keil does follow 
the standard:

http://www.keil.com/support/man/docs/ca/ca_ap_funcparam.htm

By the way, the "official" ARM standard for this is now:

http://www.arm.com/miscPDFs/8031.pdf

It's a fairly lengthy document. In general though, if you keep to 
having just four parameters (passed in r0 - r3), it's very 
straightforward to mix assembler an 'C'.

Brendan

RE: [lpc2000] Re: Assembly call in C

2006-05-17 by Woolsey Matt

Here's the response I got from Keil when I asked that question
a while back:

   Thank you for using Keil Software.  

   "Do the Keil ARM tools generate ARM Procedure Call Standard (APCS) compatible code? "

   For the Keil ARM compiler, no.  APCS is currently only supported using the GNU compiler.  
   See the following URL for more information on this:

   http://www.keil.com/support/man/docs/uv3/uv3_dg_armccp.htm
Show quoted textHide quoted text
>-----Original Message-----
>From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
>Of 42Bastian Schick
>Sent: Tuesday, May 16, 2006 11:16 PM
>To: lpc2000@yahoogroups.com
>Subject: Re: [lpc2000] Re: Assembly call in C
>
>
>Woolsey Matt schrieb:
>> 
>> Keil compiler for ARM does not use APCS.
>
>Are you sure ? How does it Keil ?
>
>-- 
>42Bastian
>
>
>------------------------ Yahoo! Groups Sponsor 
>--------------------~--> 
>Everything you need is one click away.  Make Yahoo! your home page now.
>http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/dN_tlB/TM
>---------------------------------------------------------------
>-----~-> 
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>

Re: Assembly call in C

2006-05-17 by derbaier

--- In lpc2000@yahoogroups.com, "Woolsey Matt" <matt.woolsey@...> wrote:
>
> >
> >vaneenbergen schrieb:
> >
> >> in gcc (i use rowley) the first 4 arguments are in R0 - R3, the rest 
> >> will be put on stack (so best keep everything withing 4 arguments). 
> >> the return will be in R0.
> >
> >This is the (T)APCS standard by ARM. AFAIK all compilers for ARM are
> >doing like this.
> >
> >-- 
> >42Bastian
> >
> 
> 
> Keil compiler for ARM does not use APCS.
>

If you keep things simple CARM seems to follow APCS close enough.

From CARM Compiler User's Guide 
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Function Parameters
C and C++ functions pass up to four parameters in registers R0-R3. The
first parameter is passed in register R0. Parameters that cannot fit
into registers are passed on the stack and are accessed using
[SP+#displacement] instructions.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A single function return value is returned in R0, so for pointers or
32 bit integers or smaller, CARM follows APCS close enough. Perhaps it
deviates for more complex variables???

--Dave

RE: [lpc2000] Re: Assembly call in C

2006-05-17 by Woolsey Matt

I don't remember the specific details now, but when I asked them that
question, I was trying to implement exception handlers that could
make use of the back-trace information pushed on the stack in APCS,
but Keil does not do that.  Maybe the basic parameter passing is 
the same, but Keil does not implement all of the standard.

MX
Show quoted textHide quoted text
>-----Original Message-----
>From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
>Of derbaier
>Sent: Wednesday, May 17, 2006 10:03 AM
>To: lpc2000@yahoogroups.com
>Subject: [lpc2000] Re: Assembly call in C
>
>
>--- In lpc2000@yahoogroups.com, "Woolsey Matt" 
><matt.woolsey@...> wrote:
>>
>> >
>> >vaneenbergen schrieb:
>> >
>> >> in gcc (i use rowley) the first 4 arguments are in R0 - 
>R3, the rest 
>> >> will be put on stack (so best keep everything withing 4 
>arguments). 
>> >> the return will be in R0.
>> >
>> >This is the (T)APCS standard by ARM. AFAIK all compilers for ARM are
>> >doing like this.
>> >
>> >-- 
>> >42Bastian
>> >
>> 
>> 
>> Keil compiler for ARM does not use APCS.
>>
>
>If you keep things simple CARM seems to follow APCS close enough.
>
>From CARM Compiler User's Guide 
>VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
>Function Parameters
>C and C++ functions pass up to four parameters in registers R0-R3. The
>first parameter is passed in register R0. Parameters that cannot fit
>into registers are passed on the stack and are accessed using
>[SP+#displacement] instructions.
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>A single function return value is returned in R0, so for pointers or
>32 bit integers or smaller, CARM follows APCS close enough. Perhaps it
>deviates for more complex variables???
>
>--Dave
>
>
>
>
>
>
>------------------------ Yahoo! Groups Sponsor 
>--------------------~--> 
>Everything you need is one click away.  Make Yahoo! your home page now.
>http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/dN_tlB/TM
>---------------------------------------------------------------
>-----~-> 
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>

Re: [lpc2000] Re: Assembly call in C

2006-05-18 by 42Bastian Schick

derbaier wrote:

>>From CARM Compiler User's Guide 
> VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
> Function Parameters
> C and C++ functions pass up to four parameters in registers R0-R3. The
> first parameter is passed in register R0. Parameters that cannot fit

Good. Most of my kernel's functions take max. 4 parameters.
But maybe carm will die anyway ....

-- 
42Bastian

Re: [lpc2000] Re: Assembly call in C

2006-05-18 by 42Bastian Schick

Woolsey Matt schrieb:
>    http://www.keil.com/support/man/docs/uv3/uv3_dg_armccp.htm
Thanks for the link.

-- 
42Bastian

RE: [lpc2000] CERTIFICATION in EMBEDDED SYSTEMS

2006-05-18 by selva kumar

HI,
          This is selva again.Am now in the Entry Level in the Embedded Industry.I just wanna do any of the Certications available in this Field so that I can grow in my career.Help me out.
   
  regards,
  Selva.

Andrew Berney <amb@...> wrote:
  Could you be a little more specific? certification for what exactly - you as
an individual? A product for safety critical environments? etc

Andy
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
Of selva kumar
Sent: 17 May 2006 07:52
To: lpc2000@yahoogroups.com
Subject: [lpc2000] CERTIFICATION in EMBEDDED SYSTEMS


Hello Everyone,
This is Selva.Could any one of you
help me in getting the details for doing CERTIFICATION in EMBEDDED
SYSTEMS.I'm very new to this field as a professional.Help me out.



Thanks n Regards
Selva


---------------------------------
Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo!
Answers India
Send instant messages to your online friends - NOW

[Non-text portions of this message have been removed]





Yahoo! Groups Links










Yahoo! Groups Links









				
---------------------------------
 Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo! Answers India
 Send instant messages to your online friends - NOW

[Non-text portions of this message have been removed]

Re: [lpc2000] CERTIFICATION in EMBEDDED SYSTEMS

2006-05-18 by Micron Engineering

selva kumar ha scritto:
> HI,
>           This is selva again.Am now in the Entry Level in the Embedded Industry.
This newsgroup isn't related to career certifications, please don't ask 
again.
> I just wanna do any of the Certications available in this Field so that I can grow in my career.Help me out.
>    
>   regards,
>   Selva.
>
> Andrew Berney <amb@...> wrote:
>   Could you be a little more specific? certification for what exactly - you as
> an individual? A product for safety critical environments? etc
>
> Andy
>
> -----Original Message-----
> From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com]On Behalf
> Of selva kumar
> Sent: 17 May 2006 07:52
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] CERTIFICATION in EMBEDDED SYSTEMS
>
>
> Hello Everyone,
> This is Selva.Could any one of you
> help me in getting the details for doing CERTIFICATION in EMBEDDED
> SYSTEMS.I'm very new to this field as a professional.Help me out.
>
>
>
> Thanks n Regards
> Selva
>
>
> ---------------------------------
> Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo!
> Answers India
> Send instant messages to your online friends - NOW
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> 				
> ---------------------------------
>  Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo! Answers India
>  Send instant messages to your online friends - NOW
>
> [Non-text portions of this message have been removed]
>
>
>
>
>  
> Yahoo! Groups Links
>
>
>
>  
>
>
>
>
>   


  ----------

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.0/342 - Release Date: 17/05/2006


[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.