Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
0x0
9y ago
0 comments
Save
Share
Not just the memory model, unaligned word/dword accesses would be tricky too I think? Doesn't ARM usually silently give you garbage when you load or store a multibyte item into a register unaligned?
0 comments
3 comments · 2 top-level
top
newest
oldest
dis-sys
9y ago
· 1 in thread
In linux, you get a nice SIGBUS for unaligned memory access.
0x0
OP
9y ago
It looks like that's not the default, though?
https://www.kernel.org/doc/Documentation/arm/mem_alignment
tjalfi
9y ago
ARMv6 added unaligned support[0].
[0]
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc....
j
/
k
navigate · click thread line to collapse