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
i have been testing with MASM 6.15 this code, i think this can help you.
.model small
.386
.stack 100h
.DATA
Message DB 'hello','$'
JMPPOS DB 78h,56h,34h,12h ;the address to be jumped to 1234:5678
.code
.startup
JMP dword ptr [JMPPOS]
.exit
END