3 ms·
If unaligned access traps are weird, then so is ARM: https://medium.com/@iLevex/the-curious-case-of-unaligned-access-on-arm-5dd0ebe24965 https://medium.com/@iLe
by sehugg 8y ago
If unaligned access traps are weird, then so is ARM: https://medium.com/@iLevex/the-curious-case-of-unaligned-access-on-arm-5dd0ebe24965 https://medium.com/@iLevex/the-curious-case-of-unaligned-acc...
- vardump 8y agoAlso x86 can trap on unaligned access, if "Alignment Check" (eflags bit 18) is 1 and CR0 "Alignment Mask" (coincidentally also bit 18) is 1. Then misaligned access will trap on x86. Can be useful for emulating architectures that don't support misaligned access.