ret和retf指令

ret 用栈中数据改IP内容,近转移
retf用栈中数据同时改CS,IP,远转移

用汇编解释
ret   ->  pop ip

retf  ->  pop ip
             pop cs

你可能感兴趣的:(BIOS初步,汇编)