来自:
(控权人)
class UserController extends BaseController {
/**
* The layout that should be used for responses.
*/
protected $layout = 'layouts.master';
/**
* Show the user profile.
*/
public function showProfile()
{
$this->layout->content
我刚读了另一个七年前的问题..。我试图将除法的中断改为零,所以我写了一个函数来处理除法本身,但我不明白为什么设置中断时我需要设置es:2作为cs,为什么是2而不是4,为什么cs而不是ip,有人能解释这一行吗?(MOV ES:2,cs)
XOR ax, ax
mov ax, 0h
mov es, ax
mov es:[0], offset INT0h ; putting my function's ptr in the first int (for division by zero)
MOV ES:[2], cs ; Here I'm assuming seg