Complete 8086 instruction set[RET]


No operands or even immediate Return from near procedure. Algorithm: Pop from stack: IP if immediate operand is present: SP = SP + operand Example: #make_COM# ORG 100h ; for COM file. CALL p1 ADD AX, 1 RET ; return to OS. p1 PROC ; procedure declaration. MOV AX, 1234h RET ; return to caller. p1 ENDP Flags: C Z S O P A unchanged