CPU执行ret指令时,进行下面两步操作: (IP)=((SS)*16+(SP)) (SP)=(SP)+2;
ret n (n为整数) 等效于 (IP)=((SS)*16+(SP)) (SP)=(SP)+2; (IP)=(IP)+n; 例如ret 4 pop ip add sp,4