RET指令

CPU执行retf指令时,进行下面4步操作(相当于pop IP AND pop CS):

(IP)=((ss)∗16+(sp)
(sp)=(sp)+2
(CS)=((ss)∗16+(sp))
(sp)=(sp)+2