8086tiny icon indicating copy to clipboard operation
8086tiny copied to clipboard

Unaligned access

Open ghost opened this issue 6 years ago • 1 comments

The CAST macro is used to generate unaligned accesses. This breaks compatibility on architectures which don't support unaligned access, like ARM.

I'm looking into this issue and it seems that I would have to rewrite the CAST macro to be an inline function that uses byte loads.

ghost avatar Mar 16 '18 13:03 ghost

I use unaligned access on ARM all the time. I guess it depends on which ARM, as there are many slightly different ARM architectures.

brouhaha avatar Jun 08 '20 01:06 brouhaha