……入门 ARM 芯片编程可以看:Steve Furber 写的《ARM 体系结构与系统芯片设计》(第2版)(这哥们儿就是设计了这该死芯片的人!)http://www.amazon.com/ARM-System-Chip-Architecture-2nd/dp/02... David Seal 写的《ARM 体系结构参考手册》(第2版)http://www.amazon.com/ARM-Architecture-Reference-Manual-2nd/...
…start out programming for ARM chips: ARM System-on-Chip Architecture (2nd Edition) By Steve Furber (the guy who designed the bloody chip!) http://www.amazon.com/ARM-System-Chip-Architecture-2nd/dp/02... ARM Architecture Reference Manual (2nd Edition) By David Seal http://www.amazon.com/ARM-Architecture-Reference-Manual-2nd/...
说实话,直接读现有的汇编代码来感受它的工作原理,遇到不懂的就疯狂 Google 完事。《ARM 体系结构参考手册》(也就是传说中的“ARM ARM”)在查具体指令的功能和调用方式时特别好用。另一个巨好用的工具是用 C/C++ 写点东西,然后用 gcc 编译并……
Honestly, just reading existing assembly to get a feel for how it works, and then violently googling everything that goes wrong. The ARM Architecture Reference Manual (aka "The ARM ARM") ended up being really helpful for looking up what specific instructions do and how they're called. Another really helpful tool is writing something in C/C++, and compiling with "gcc…
…of intuiting what these mean. In this case, you definitely need some intuition of elliptic curves and "special points" that is hard to explain, but Quanta does it decently. Here's an example from the ARM Architecture Reference Manual (B.2.3.6) that often throws people for a loop-- > For a read or a write RW1 from an Observer that is Ordered-before a read or a write RW2 from a different Observer, the External visibility requirement…
搜“ARM Architecture Reference Manual”能搜出不少针对不同 ARM 系统的结果,包括 ARMv8;树莓派的 ARMv6 指令集也能找得到。一个大变化是,现代 ARM 处理器基本都倾向于运行在 Thumb……
"ARM Architecture Reference Manual" yields quite a few hits for various ARM systems, including ARMv8; the Raspberry Pi's ARMv6 instruction set is also available. One big change is that modern ARM processors tend to run mostly in Thumb…
Apparently not. From "ARM Architecture Reference Manual ARMv8 for ARMv8-A architecture profile", Apart from Load-Exclusive, Store-Exclusive, Load-Acquire, and Store-Release, addresses can have any alignment unless strict alignment checking is enabled....…
…on countless involved subsystems, if not properly thought out, even if seemingly "working" at first, can be immense. [1] To give a sense of scale of complexity in the embedded world for example, the ARM Architecture Reference Manual alone is well over 10000 pages now. And that isn't any actual implementation, and only the "main CPU" itself!
……入门 ARM 芯片编程可以看:Steve Furber 写的《ARM 体系结构与系统芯片设计》(第2版)(这哥们儿就是设计了这该死芯片的人!)http://www.amazon.com/ARM-System-Chip-Architecture-2nd/dp/02... David Seal 写的《ARM 体系结构参考手册》(第2版)http://www.amazon.com/ARM-Architecture-Reference-Manual-2nd/...
…start out programming for ARM chips: ARM System-on-Chip Architecture (2nd Edition) By Steve Furber (the guy who designed the bloody chip!) http://www.amazon.com/ARM-System-Chip-Architecture-2nd/dp/02... ARM Architecture Reference Manual (2nd Edition) By David Seal http://www.amazon.com/ARM-Architecture-Reference-Manual-2nd/...
说实话,直接读现有的汇编代码来感受它的工作原理,遇到不懂的就疯狂 Google 完事。《ARM 体系结构参考手册》(也就是传说中的“ARM ARM”)在查具体指令的功能和调用方式时特别好用。另一个巨好用的工具是用 C/C++ 写点东西,然后用 gcc 编译并……
Honestly, just reading existing assembly to get a feel for how it works, and then violently googling everything that goes wrong. The ARM Architecture Reference Manual (aka "The ARM ARM") ended up being really helpful for looking up what specific instructions do and how they're called. Another really helpful tool is writing something in C/C++, and compiling with "gcc…
……去直观理解这些概念。在这种情况下,你绝对需要对椭圆曲线和“特殊点”建立起某种直觉,这很难解释,但 Quanta 讲得还挺到位。这里有个《ARM 体系结构参考手册》(B.2.3.6)里的例子,经常把人整懵——> 对于来自某个观察者、且在程序序(Ordered-before)上早于另一个观察者的读或写 RW2 的读或写 RW1,外部可见性要求……
…of intuiting what these mean. In this case, you definitely need some intuition of elliptic curves and "special points" that is hard to explain, but Quanta does it decently. Here's an example from the ARM Architecture Reference Manual (B.2.3.6) that often throws people for a loop-- > For a read or a write RW1 from an Observer that is Ordered-before a read or a write RW2 from a different Observer, the External visibility requirement…
搜“ARM Architecture Reference Manual”能搜出不少针对不同 ARM 系统的结果,包括 ARMv8;树莓派的 ARMv6 指令集也能找得到。一个大变化是,现代 ARM 处理器基本都倾向于运行在 Thumb……
"ARM Architecture Reference Manual" yields quite a few hits for various ARM systems, including ARMv8; the Raspberry Pi's ARMv6 instruction set is also available. One big change is that modern ARM processors tend to run mostly in Thumb…
显然不是。《ARM 体系结构参考手册 ARMv8-A 架构配置》里写道:除了 Load-Exclusive、Store-Exclusive、Load-Acquire 和 Store-Release 之外,除非启用了严格对齐检查,否则地址可以采用任何对齐方式……
Apparently not. From "ARM Architecture Reference Manual ARMv8 for ARMv8-A architecture profile", Apart from Load-Exclusive, Store-Exclusive, Load-Acquire, and Store-Release, addresses can have any alignment unless strict alignment checking is enabled....…
……如果在无数相关的子系统上没有经过深思熟虑,哪怕一开始看起来“能跑”,后果也可能是毁灭性的。[1] 举个例子,为了让你对嵌入式世界的复杂性有个概念,《ARM 体系结构参考手册》单本现在就已经远远超过 10000 页了。而且这甚至还不是任何具体的硬件实现,仅仅是“主 CPU”本身而已!
…on countless involved subsystems, if not properly thought out, even if seemingly "working" at first, can be immense. [1] To give a sense of scale of complexity in the embedded world for example, the ARM Architecture Reference Manual alone is well over 10000 pages now. And that isn't any actual implementation, and only the "main CPU" itself!