2 ms·
Practice. A lot. A good start is actually the ARM processor; since it's a RISC instruction set, it's quite simple. I've done lots of assembly in my ugrad days
by jpap 13y ago
Practice. A lot.
A good start is actually the ARM processor; since it's a RISC instruction set, it's quite simple.
I've done lots of assembly in my ugrad days, even writing a Motorola HC11 micro-controller emulator, but ARM would be a much better choice right now.
I found the "Tonic: Whirlwind Tour of Assembly" [1] site invaluable to get me started for SnappyCam, as it covers a lot of the ARM ISA.
For iOS-related assembly, I'd recommend [2].
And for a taste of ARM NEON SIMD, have a look at [3]. The one thing that "clicked" for me on SIMD is that you should look at each register "lane" as trying to unroll a loop. I initially dived in thinking I'd just make a sequential algorithm parallel, which is often too difficult to arrange.
[1] http://www.coranac.com/tonc/text/asm.htm http://www.coranac.com/tonc/text/asm.htm
[2] http://www.shervinemami.info/armAssembly.html http://www.shervinemami.info/armAssembly.html
[3] http://hilbert-space.de/?p=22 http://hilbert-space.de/?p=22