On Sun, Dec 18, 2016 at 07:31:55PM +0100, Mark Kettenis wrote:
> Generating mixed 16-bit/32-bit/64-bit code with clang's integrated
> assembler is a bit tricky. It supports the .code16, .code32 and
> .code64 directives. But it doesn't know about the data16/data32 and
> addr16/addr32 instruction p
Generating mixed 16-bit/32-bit/64-bit code with clang's integrated
assembler is a bit tricky. It supports the .code16, .code32 and
.code64 directives. But it doesn't know about the data16/data32 and
addr16/addr32 instruction prefixes. Instead it tries to determine
those from the instruction opco