From 7f2c9a146f05812559096f845168ba5f6304eda4 Mon Sep 17 00:00:00 2001 From: jinzhongjia Date: Tue, 5 Dec 2023 16:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B1=87=E7=BC=96=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- learn/advanced/assembly.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/learn/advanced/assembly.md b/learn/advanced/assembly.md index d079fe9d..7c02ce82 100644 --- a/learn/advanced/assembly.md +++ b/learn/advanced/assembly.md @@ -144,3 +144,5 @@ AssemblerTemplate 内联汇编特性在未来可能会发生更改以支持新的特性(如多个返回值),具体见此 [issue](https://github.com/ziglang/zig/issues/215)。 ::: + +了解更多?可以查看我的这篇文章 [Handle Interrupt on x86-64 kernel with zig](https://blog.nvimer.org/2023/11/12/handle-interrupt-on-x86-64-kernel-with-zig/),这是一篇关于如何在 x86-64 内核上利用 zig 的特性实现中断处理的文章,在这其中我用了内联汇编,算是一个比较巧妙的例子。 \ No newline at end of file