add half carry and parity flags in x86 and x64 semantics