How can I write a far absolute JMP or CALL instruction using MASM? Specifically how do I get it to emit these instruction using the EA and CA opcodes, without manually emitt
Have you considered using the __emit pseudoinstruction?
https://msdn.microsoft.com/en-us/library/1b80826t.aspx
I once had to use inline assembler to code a far jump. I can't remember the opcode for a far jump, but you could do something like this
__emit 0eah
__emit 0
__emit 0
__emit 0
__emit 0
__emit 8h
__emit 0