[J-core] J-core address errors and other questions

Rich Felker dalias at libc.org
Tue Jul 12 11:08:43 EDT 2016


On Tue, Jul 12, 2016 at 05:48:15AM -0700, Robert Ou wrote:
> As an unrelated question, I would also like to know what happens when
> the CPU attempts an unaligned read/write or a jump to an unaligned
> address. From what I can see, the CPU just seems to assume that this
> doesn't happen and essentially would end up incorrectly rotating
> various bits around when an unaligned access is attempted. Is this
> accurate or did I miss a check for alignment somewhere?

This matches my experience programming it: I'm not getting unaligned
exceptions but instead corrupt data. I'm not sure whether this is
intentional or an oversight/bug.

Rich


More information about the J-core mailing list