This field is used differently during assembly and disassembly. It
would be nice if we could make this more consistent, but for now just
extend the comment to explain what is going on.
/* The encoding of the system register. */
aarch64_insn value;
- /* The system register flags. */
+ /* The system register flags. During assembly this contains the
+ flags from aarch64-sys-regs.def. During disassembly this stores
+ either F_REG_READ or F_REG_WRITE, depending upon the opcode. */
uint32_t flags;
} sysreg;