[obsidian] vault backup: 2024-07-08 22:54:39[
All checks were successful
Build / build (push) Successful in 4m6s

This commit is contained in:
松浦 知也 Matsuura Tomoya 2024-07-08 22:54:39 +09:00
parent b3ff6d8eca
commit c0239a04c3

View File

@ -146,7 +146,7 @@ fn filterbank(n,filter){
let myfilter = filterbank(3,onepole) let myfilter = filterbank(3,onepole)
``` ```
みたいな感じだとすると みたいな感じだとするとこうで
``` ```
fn onepole(x,g){ fn onepole(x,g){
movc 2 "1" movc 2 "1"
@ -154,7 +154,7 @@ fn onepole(x,g){
sub 2 2 3 sub 2 2 3
mul 2 0 2 mul 2 0 2
mov 3 1 mov 3 1
getstate 4 0 getstate 4
mul 3 3 4 mul 3 3 4
add 3 2 3 add 3 2 3
@ -204,3 +204,6 @@ fn filterbank (n,filter){ //n:0 filter: 1
ret 3 1 ret 3 1
} }
``` ```
あ、でも`callcls`命令実行の時だけ、最初にgetstateを暗黙的に読み出して、その中身のポインタへ飛べばいいのか