Yahoo Groups archive

Lpc2000

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

Message

Re: Learning ARM ASM

2005-03-29 by Ken Wada

A lot of my buddies use a 'C' compiler for the PIC chip! And this 
thing is really resource constrained!

My most extreme project is using the Philips 83C751 chip. I believe, 
it had no XDATA ram, and only 2K of code available. It had a bunch of 
features in it, (mktg. wanted it this way).

did the entire thing using the Keil 'C' compiler with some 
hand-tweaked assembly language thrown in.

If you want low-power consumption, then in my opinion, the Texas 
Instruments MSP430 chip is king! Couple this thing with that Pumpkin 
OS, and a decent 'C' compiler, and you can really make that chip rip!

Ken Wada

--- In lpc2000@yahoogroups.com, Onestone <onestone@b...> wrote:
> Of course it depends what you work on, I've been that path and come 
back 
> again (although a while ago now). The reason is simple. 99% of 
> everything I am currently working on has extreme size or power 
> consumption requirements, but often has a fair degree of 
computational 
> complexity. It would be real nice to bolt in an RTOS, and a few off 
the 
> shelf parts, patch it together with a little C and spit out a 
product. 
> The problem is I haven't yet found any combination that can do this 
fast 
> enough, or compactly enough for my needs. I do test the compilers 
and 
> other tools that come with development kits I buy, but haven't yet 
found 
> one that could do what I need. When I do I'll buy it.
> 
> In the mean time my products create their own market niche. The 
market 
> for my two main products wouldn't exist if they were more expensive, 
> bigger, or ran for less time between charges. All unachievable with 
COTs 
> ttechniques.
> 
> Al
> 
> kennethwada wrote:
> 
> >
> > heh...
> >
> > I used to do that! In fact, I was a big proponent of always doing 
the
> > 1st project with some 'XYZ-processor architecture' ENTIRELY in
> > assembler. With technological life-cycles now measured in months I 
no
> > longer have the luxury of doing this 'old-school' thing anymore.
> >
> > About the only thing I will do hard-core assembly on is the
> > highly-tweaked DSP/signal processing using FPGA cores, or 
specialized
> > DSPs anymore. Squeezing every extra MIPS is usually worth the 
hassle
> > of the extra effort and obtuseness of highly-crafted assembler in 
this
> > case.
> >
> > In fact, I used to pooh-pooh shrink-wrapped RTOS's! I was of the
> > following camp..."I can write my own RTOS, why...I only need that
> > infinite while(1) loop, and I am fine!". Now that I have spec'd in 
a
> > bunch of these shrink-wrapped RTOS's, and written drivers, and a 
bunch
> > of other stuff like this; I now find myself recommending
> > shrink-wrapped RTOS's, file-systems and communications servers 
too!
> >
> > The trick to successful deployment of this off-the-shelf 
technology is
> > to wrapper this stuff so most of the details are hidden to the
> > applications developers. All the apps-developers need to know is 
how
> > to write generic C/C++ code in a generic environment like DOS, 
Linux,
> > or Windows!
> >
> > Ken Wada
> >
> > --- In lpc2000@yahoogroups.com, Onestone <onestone@b...> wrote:
> > > Ah but the objective of learnig ARM ASM was to understand the 
fine
> > > details of the instruction set to write my own optimised code, 
not
> > to
> > > use C, or somebody elses generic optimisation.
> > >
> > > Al
> > >
> > > kennethwada wrote:
> > >
> > > >
> > > > The fastest way to use this is to do the following:
> > > > - Write a small piece of Keil "C" code
> > > > - Compile with the listing and Assemble source options checked
> > > > - look at dissassembled code with the "Arm Architeture 
Reference
> > > > Manual at your side"
> > > >
> > > > I did this, and managed to get some quality assembly language 
code
> > up
> > > > and operational in an hour or two!
> > > >
> > > > Most of my asm code is in the startup. With the Keil tools, 
there
> > > > really is very little, or no need to write your own assembler.
> > > >
> > > > Ken Wada
> > > >
> > > > --- In lpc2000@yahoogroups.com, Onestone <onestone@b...> 
wrote:
> > > > > And a lot of time. It's 811 pages long! few days read for a
> > decent
> > > > > novel, but a lifetime for a reference book!
> > > > >
> > > > > Al
> > > > >
> > > > > Ken Wada wrote:
> > > > >
> > > > > > RE:Learning ARM ASM
> > > > > >
> > > > > > Hello Chip;
> > > > > > You need the "Arm Archtitecture Reference Manual"
> > > > > >
> > > > > > Ken Wada
> > > > > >
> > > > > > Yahoo! Groups Sponsor
> > > > > > ADVERTISEMENT
> > > > > > <http://us.ard.yahoo.com/SIG=129qe2qbj/M=298184.6191685.
> > 7192823.
> > > > 3001176/D=groups/S=1706554205:
> > > > HM/EXP=1112112871/A=2593423/R=0/SIG=11el9gslf/*http://www.
netflix.
> > > > com/Default?mqso=60190075>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > >
> > 
----------------------------------------------------------------------
> > > > --
> > > > > > Yahoo! Groups Links
> > > > > >
> > > > > >     * To visit your group on the web, go to:
> > > > > >       http://groups.yahoo.com/group/lpc2000/
> > > > > >      
> > > > > >     * To unsubscribe from this group, send an email to:
> > > > > >       lpc2000-unsubscribe@yahoogroups.com
> > > > > >       <mailto:lpc2000-unsubscribe@yahoogroups.com?
> > > > subject=Unsubscribe>
> > > > > >      
> > > > > >     * Your use of Yahoo! Groups is subject to the Yahoo! 
Terms
> > of
> > > > > >       Service <http://docs.yahoo.com/info/terms/>.
> > > > > >
> > > > > >
> > > > >
> > > >
> > 
>---------------------------------------------------------------------
> > > > ---
> > > > > >
> > > > > >No virus found in this incoming message.
> > > > > >Checked by AVG Anti-Virus.
> > > > > >Version: 7.0.308 / Virus Database: 266.8.4 - Release Date:
> > > > 27/03/2005
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> > > >
> > > > Yahoo! Groups Sponsor
> > > > ADVERTISEMENT
> > > > <http://us.ard.yahoo.com/SIG=129qgbrc3/M=298184.6191685.
7192823.
> > 3001176/D=groups/S=1706554205:
> > HM/EXP=1112116331/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.
> > com/Default?mqso=60190075>
> > > >
> > > >
> > > >
> > > >
> > 
----------------------------------------------------------------------
> > --
> > > > Yahoo! Groups Links
> > > >
> > > >     * To visit your group on the web, go to:
> > > >       http://groups.yahoo.com/group/lpc2000/
> > > >       
> > > >     * To unsubscribe from this group, send an email to:
> > > >       lpc2000-unsubscribe@yahoogroups.com
> > > >       <mailto:lpc2000-unsubscribe@yahoogroups.com?
> > subject=Unsubscribe>
> > > >       
> > > >     * Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of
> > > >       Service <http://docs.yahoo.com/info/terms/>.
> > > >
> > > >
> > >
> > 
>---------------------------------------------------------------------
> > ---
> > > >
> > > >No virus found in this incoming message.
> > > >Checked by AVG Anti-Virus.
> > > >Version: 7.0.308 / Virus Database: 266.8.4 - Release Date:
> > 27/03/2005
> > > > 
> > > >
> >
> >
> >
> >
> > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> > <http://us.ard.yahoo.com/SIG=1292ne6g0/M=298184.6018725.7038619.
3001176/D=groups/S=1706554205:
HM/EXP=1112143341/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.
com/Default?mqso=60190075> 
> >
> >
> >
> > 
----------------------------------------------------------------------
--
> > Yahoo! Groups Links
> >
> >     * To visit your group on the web, go to:
> >       http://groups.yahoo.com/group/lpc2000/
> >        
> >     * To unsubscribe from this group, send an email to:
> >       lpc2000-unsubscribe@yahoogroups.com
> >       <mailto:lpc2000-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
> >        
> >     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >       Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> 
>---------------------------------------------------------------------
---
> >
> >No virus found in this incoming message.
> >Checked by AVG Anti-Virus.
> >Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 
27/03/2005
> >  
> >

Attachments

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.