From c0239a04c3b137737f3dc070599a296bc9e36215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E6=B5=A6=20=E7=9F=A5=E4=B9=9F=20Matsuura=20Tomoy?= =?UTF-8?q?a?= Date: Mon, 8 Jul 2024 22:54:39 +0900 Subject: [PATCH] [obsidian] vault backup: 2024-07-08 22:54:39[ --- content/mimiumの中間表現を考える.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/mimiumの中間表現を考える.md b/content/mimiumの中間表現を考える.md index 4e5f3e1c..825dc643 100644 --- a/content/mimiumの中間表現を考える.md +++ b/content/mimiumの中間表現を考える.md @@ -146,7 +146,7 @@ fn filterbank(n,filter){ let myfilter = filterbank(3,onepole) ``` -みたいな感じだとすると +みたいな感じだとするとこうで ``` fn onepole(x,g){ movc 2 "1" @@ -154,7 +154,7 @@ fn onepole(x,g){ sub 2 2 3 mul 2 0 2 mov 3 1 - getstate 4 0 + getstate 4 mul 3 3 4 add 3 2 3 @@ -204,3 +204,6 @@ fn filterbank (n,filter){ //n:0 filter: 1 ret 3 1 } ``` + +あ、でも`callcls`命令実行の時だけ、最初にgetstateを暗黙的に読み出して、その中身のポインタへ飛べばいいのか +