when the struct is in stack memory, we access it using a byte-offset,
because that's how the stack works. on the other hand when the struct
is in a register, we are working with bits and the field offset should
be a bit offset.
c96989aa4bDavid Rubin committed on 5/11/2024, 9:17:11 AMparent09b7aab