Live data from Hacker News

ARM Assembly Language Programming

arm.com

11–20 of 40 posts

Re: ARM Assembly Language Programming

#11
I've been using ARM assembly language since the early 1990s. It's a beautiful instruction set, far nicer than the 8080 and Z80 I started with (and which can still be seen in the x86 line) and the m68k line I contracted for.

I've built robots with and compilers for Z80s, and programmed embedded m68k for food, but it was the ARM family that I remember with particular fondness. Every instruction being conditional, clean registers, orthogonal instructions. Simply fun to program.

Re: ARM Assembly Language Programming

#12

Earlier quoted context omitted.

Isn't that true of everything that comes from scribd?

It doesn't come from scribd. scribd automatically scrape every PDF they find and put it on their site. They do this without considering that many of the PDFs have copyright notices, and require the copyright holder to pay a lawyer to issue a formal C&D before they do anything about it. I think what they do is reprehensible and I think they're scum. I don't know why the powers that be at HN automatically add the link…

Google does the same thing, but no one ever speaks up about that. Realistically speaking, if you don't want your content to be scraped by such services, put it behind a login page. We as content owners need to stop fighting against technology; it's not a battle that can (or should, really) be won.

Re: ARM Assembly Language Programming

#13
post #5

Thanks, this seems like a nice book. As it happens, I've been learning ARM assembly in the recent weeks; just for fun so far. I've mostly used some instruction set references or ARM cheatsheets I found on the web. Having written mostly m68k assembly before (well, 6502 too...) I knew a bit how to read ARM assembly but I wanted to learn it throughoutly and gain such insight into the instruction set that can only be ach…

In that case I fully recommend that you also check out Steve Furber's "ARM System-on-Chip Architecture" as a very readable introduction to ARM assembler and an easy way to learn about the microarchitecture and design philosphy of early ARM processors (ARM7 and ARM9) [Furber was one of the original engineers that worked on the first ARM design].

The architecture has come along quite a bit since those days so if you'd like the most up to date release you need to look for the ARM v7AR Architecture Reference Manual which you can get (with a click-through) here: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0406b/in...

This will cover you up to the latest cores like Cortex-A8 inside the Beagleboard and Cortex-A9. Enjoy!

Re: ARM Assembly Language Programming

#14
post #12

Earlier quoted context omitted.

It doesn't come from scribd. scribd automatically scrape every PDF they find and put it on their site. They do this without considering that many of the PDFs have copyright notices, and require the copyright holder to pay a lawyer to issue a formal C&D before they do anything about it. I think what they do is reprehensible and I think they're scum. I don't know why the powers that be at HN automatically add the link…

Google does the same thing, but no one ever speaks up about that. Realistically speaking, if you don't want your content to be scraped by such services, put it behind a login page. We as content owners need to stop fighting against technology; it's not a battle that can (or should, really) be won.

Google provides search so people can find your site, and then sends people to your site.

Scribd do neither - they appear to take your content, put it on their own site, and provide nothing in return.

I, as a content owner, expect that a copyright notice should be respected, and I don't expect to have to track down every copy and sue the plagarists and thieves. I've certainly stopped providing PDF references to HN because they aid and abet such theft.

I'm not averse to technology, and I freely provide much of my written material for free, on my sites. I just expect to have people come to my sites to read them, and not have parasites like scribd steal the material without remorse or recompense.

Re: ARM Assembly Language Programming

#15
Since other people are reminiscing about ARM:

- It was the first language I wrote real programs in, back in the late 80's on the Acorn Archimedes desktop machines it was originally built for. The A in ARM originally stood for Acorn, not Advanced.

- Writing ARM demos I was always jealous of the Amiga's blitter, but then I discovered STMIA could store multiple registers pretty darn fast.

- I chose to go to Manchester University purely because Steve Furber, one of the chip's designers, would be a lecturer on my course.

- He spent weeks taking us through diagrams of the x86's instruction decode hardware. I was convinced that any processor that had to expend so much of its silicon just decoding instructions was doomed, not my best insight.

- The instructions' simplicity did make it easy to build low-power versions however, hence its ubiquity in mobile devices. Steve seemed as surprised by this as anyone, it definitely didn't seem like a design goal at the start.

- His main research project was a clockless version of the ARM chip, with asynchronous logic, called Amulet, really interesting technology that never caught on: http://en.wikipedia.org/wiki/AMULET_microprocessor

- ARM is the only British-born computer technology company I can think of that achieved lasting international success. I'd welcome any other examples.

Re: ARM Assembly Language Programming

#16
post #6

Why does it say [scribd] in the Hacker News title?

PDF links automatically give a scribd link after the original.

Okay, then there's two issues here:

1. Adding something in square brackets after a title looks like a format hint (e.g. [pdf]) and not a seperate, clickable link

2. With Safari (Mac and iPhone) the second link just gives me the PDF file on the arm.com site. Is scridb unsupported on these platforms? Is its purpose purely adding a redirect? What value does this add?

Re: ARM Assembly Language Programming

#17
post #5

Thanks, this seems like a nice book. As it happens, I've been learning ARM assembly in the recent weeks; just for fun so far. I've mostly used some instruction set references or ARM cheatsheets I found on the web. Having written mostly m68k assembly before (well, 6502 too...) I knew a bit how to read ARM assembly but I wanted to learn it throughoutly and gain such insight into the instruction set that can only be ach…

"I like that for once something as good as this has significant marketshare in mobile cpus. Just wondering if they could gradually creep into the market for desktop cpus as well."

It is going to be hard to displace x86 desktops, but I'm looking forward to ARM-based "netbooks" and pocket-sized computers like the Nokia N900. See Ubuntu job postings and Google's ChromeOS - I believe this presages ARM-based small and tiny mobile computers.

The big question is whether the Atom (and whatever AMD is working on) will be able to reduce their chipSET power to compete with the ARM SOC power numbers before ARM grows up into that market (growing up is always easier than growing down).

Re: ARM Assembly Language Programming

#18
post #12

Earlier quoted context omitted.

Google does the same thing, but no one ever speaks up about that. Realistically speaking, if you don't want your content to be scraped by such services, put it behind a login page. We as content owners need to stop fighting against technology; it's not a battle that can (or should, really) be won.

Google provides search so people can find your site, and then sends people to your site. Scribd do neither - they appear to take your content, put it on their own site, and provide nothing in return. I, as a content owner, expect that a copyright notice should be respected, and I don't expect to have to track down every copy and sue the plagarists and thieves. I've certainly stopped providing PDF references to HN bec…

Google also gives you a link to view it on their site. The only difference between Google's PDF viewer and Scribd's is that most people don't link to a Google PDF page.

Re: ARM Assembly Language Programming

#19

Since other people are reminiscing about ARM: - It was the first language I wrote real programs in, back in the late 80's on the Acorn Archimedes desktop machines it was originally built for. The A in ARM originally stood for Acorn, not Advanced. - Writing ARM demos I was always jealous of the Amiga's blitter, but then I discovered STMIA could store multiple registers pretty darn fast. - I chose to go to Manchester U…

>> "He spent weeks taking us through diagrams of the x86's instruction decode hardware. I was convinced that any processor that had to expend so much of its silicon just decoding instructions was doomed, not my best insight."

I haven't found figures, but I'd be willing to bet there's far more ARM devices in the world than x86. x86 didn't die, but it's not in the same league as ARM in terms of success.

Agreed though, the x86 is an absolute dog mainly because of the backward compatibility. Tacking on 32 bit instructions with prefixes, It's a mess.

Re: ARM Assembly Language Programming

#20

Since other people are reminiscing about ARM: - It was the first language I wrote real programs in, back in the late 80's on the Acorn Archimedes desktop machines it was originally built for. The A in ARM originally stood for Acorn, not Advanced. - Writing ARM demos I was always jealous of the Amiga's blitter, but then I discovered STMIA could store multiple registers pretty darn fast. - I chose to go to Manchester U…

>> "He spent weeks taking us through diagrams of the x86's instruction decode hardware. I was convinced that any processor that had to expend so much of its silicon just decoding instructions was doomed, not my best insight." I haven't found figures, but I'd be willing to bet there's far more ARM devices in the world than x86. x86 didn't die, but it's not in the same league as ARM in terms of success. Agreed though,…

ARM core sales are measured in billions per year.
Post reply on HN