[dorkbotpdx-blabber] assembler on the arduino?
yiyi
hijinx at x0r.org
Mon Jan 28 11:57:26 EST 2008
Perhaps you could just do inline assembly:
http://www.nongnu.org/avr-libc/user-manual/inline_asm.html
Arduino doesn't really allow for you to do straight assembly, without a lot
of work arounds. To do straight assembly, it would be much easier to just
buy an stk500 and some atmega's.
Arduino is meant to be easy and a one stop shop, so doing weird things like
writing assembly isn't going to be as easy as doing it normally, but doing
normal things, like writing C, it makes super easy.
On 1/28/08, Greg Borenstein <greg.borenstein at gmail.com> wrote:
>
> Don,
>
> I, of course, realize that assembly is not the most natural way to
> program an AVR processor. I'm not going for utility here, but for
> education!
>
> And the first step in that quest is to actually be able to run some
> assembly on my Arduino. Any tips on that or is just warnings all the
> way down? ;)
>
> I'll keep you guys up to date on the Arduino-related bits of the class
> as it proceeds.
>
> -- Greg
>
> On Jan 28, 2008, at 2:53 AM, Donald Delmar Davis wrote:
>
> > Somewhere there are a couple of european engineers smacking
> > themselves repeatedly on the forehead.
> >
> > The AVR processor was specifically designed to run C and there are
> > only a few processors left in the current production where assembly
> > actually makes sense.
> >
> > (Unless you are Paul and you really,really like assembly. :)
> >
> > I am interested in hearing about the class and how the arduino (and
> > the avr) as test subject effects the languages used on it.
> > (This is based on some extended forays into how badly the processor
> > is set up for a an on board TIL like forth).
> >
> > Best of luck.
> >
> >
> >
> >
> > On Jan 27, 2008, at 12:58 PM, Greg Borenstein wrote:
> >
> >> Hey y'all,
> >>
> >> I was wondering if anyone had any advice for someone who wants to
> >> use the Arduino as a platform for learning Assembler. Are there any
> >> good guides out there for getting started writing and running
> >> assembler on the Arduino? Any truly beginner level texts for
> >> writing Assembler in general?
> >>
> >> I'm an upper-intermediate level Arduino programmer with no
> >> assembler experience. Starting tomorrow, I'll be auditing a class
> >> at Reed on language design and threading for the micro-controller
> >> environment that's going to be using the Arduino as a test subject
> >> and I wanted to try to get some of the basics under my belt.
> >>
> >> Thanks,
> >>
> >> Greg
> >> ---
> >> http://grabb.it/users/greg
> >> http://urbanhonking.com/ideasfordozens
> >> http://atduskmusic.com
> >> _______________________________________________
> >> dorkbotpdx-blabber mailing list
> >> dorkbotpdx-blabber at dorkbot.org
> >> http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
> >
> > _______________________________________________
> > dorkbotpdx-blabber mailing list
> > dorkbotpdx-blabber at dorkbot.org
> > http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
>
> _______________________________________________
> dorkbotpdx-blabber mailing list
> dorkbotpdx-blabber at dorkbot.org
> http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://music.columbia.edu/pipermail/dorkbotpdx-blabber/attachments/20080128/4d0e9df2/attachment.html
More information about the dorkbotpdx-blabber
mailing list