Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Assembly Language v C and Embedded Development: !gcc for PIC16F84
- Date: Thu, 10 Mar 2011 09:24:27 +0100
- From: Josh Glover <jmglov@example.com>
- Subject: Re: [tlug] Assembly Language v C and Embedded Development: !gcc for PIC16F84
- References: <AANLkTim_-D9CFYC8TNp33ni85zB+QBA7jV=BpLN=4SbZ@example.com> <AANLkTimhSGxdPk45AMZHqX8eo2PS75K-qkuV+xMS7bdH@example.com> <AANLkTimSRkAiworM=O5VRfTVw-jBA4z=iD89OXY9sWxB@example.com> <4D765593.4090409@example.com> <4D76ECFF.30903@example.com> <AANLkTim=he_XLrHsFU2RMEUtq1f30AROO1mYQ7nLJvL3@example.com> <DED1953A-4193-4A6B-9ED4-BF0F676BA509@example.com> <AANLkTikTORsQbrnd0wAu_QwntBmjijBT83s24=5t_h2Z@example.com> <2E17A6AD-8F2B-4AEA-9555-4FB82ADA3B29@example.com> <20110309193326.4c0712da.jep200404@example.com> <4D781FA8.1040102@example.com> <20110309203709.575cbf84.jep200404@example.com> <AANLkTimo9yUpeOUAikpFPg75nEJ0QpHKcsm+VBt+sRKs@example.com> <20110310015425.4d9e751b.jep200404@example.com>
On 10 March 2011 07:54, <jep200404@example.com> wrote: > On Wed, 9 Mar 2011 13:09:07 +0100, Josh Glover <jmglov@example.com> wrote: > >> I think this is a fallacy. I challenge you [Lewske Wada] to profile your >> code and show that you can regularly beat gcc with the optimiser turned up. > > It can not be done because gcc is not available for the PIC16F84 that > Lewske Wada is using. Would you like to restate your challenge using > some open source compiler that you recommend for the PIC16F84? No, I'd like to restate my challenge as follows: For any architecture (MCU or otherwise) for which a decent quality compiler (such as gcc) is available, show that you can regularly beat the compiler with hand-rolled assembly. Qualified enough for you? ;) >> OK Jim, stop beating around the bush and empty both barrels! ;) > > By playing along, you will be led to a better understanding of > the embedded world that Lewske Wada and I are familiar with. > Read section 2.4.1 on page 11 of the PIC16F84 datasheet[1], > and discuss how you would write a compiler to do stack relative > addressing that C loves so much. Others are welcome to comment also. > > [1] http://ww1.microchip.com/downloads/en/devicedoc/35007b.pdf Challenge accepted! But give me a few days / weeks / months. ;) -- Cheers, Josh
- Follow-Ups:
- References:
- [tlug] Alternatives to sed + awk
- From: Nguyen Vu Hung
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Nguyen Vu Hung
- Re: [tlug] Alternatives to sed + awk
- From: Raymond Wan
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- [tlug] Assembly Language v C and Embedded Development (was Re: Alternatives to sed + awk)
- From: jep200404
- Re: [tlug] Assembly Language v C and Embedded Development (was Re: Alternatives to sed + awk)
- From: Lewske Wada
- Re: [tlug] Assembly Language v C and Embedded Development
- From: jep200404
- Re: [tlug] Assembly Language v C and Embedded Development
- From: Josh Glover
- Re: [tlug] Assembly Language v C and Embedded Development: !gcc for PIC16F84
- From: jep200404
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Alternatives to sed + awk
- Next by Date: Re: [tlug] iTunes replacement
- Previous by thread: Re: [tlug] Assembly Language v C and Embedded Development: !gcc for PIC16F84
- Next by thread: Re: [tlug] Assembly Language v C and Embedded Development: !gcc for PIC16F84
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links