Home > other > There is a problem to consult, this code?
There is a problem to consult, this code?
Time:05-24
There is a problem to consult, this code? Call far PTR s machine code doesn't seem normal, it should contain the address and offset, but emu8086 are incorrect,
Assume cs: code The stack segment The db 16 dup (0) Stack ends Code segment Start: mov ax, stack Mov ss, ax Mov sp, 16 Mov ax, 0 Call far PTR s Inc ax S: pop ax The add ax, ax Pop bx The add ax, bx Mov ax, 4 c00h Int 21 h Code ends The end start
CodePudding user response:
Is something wrong, so far call, it should be 9 a... Kind of instruction, FF, seems to be misunderstanding became indirect transfer calls, just coding is also wrong, if the tool has the special provisions on the instructions written?