ファイルから直接読み込む | メモリから読み込む |
---|---|
READ #1ファイル番号,code$;1 code% = ASC(code$) | code% = PEEK(address&) |
回数 | wcount%の値 | 論理積を取る値 | 演算結果 |
---|---|---|---|
0 | 0 [0000] | 7 [0111] | 0 [0000] |
1 | 1 [0001] | 7 [0111] | 1 [0001] |
2 | 2 [0010] | 7 [0111] | 2 [0010] |
3 | 3 [0011] | 7 [0111] | 3 [0011] |
4 | 4 [0100] | 7 [0111] | 4 [0100] |
5 | 5 [0101] | 7 [0111] | 5 [0101] |
6 | 6 [0110] | 7 [0111] | 6 [0110] |
7 | 7 [0111] | 7 [0111] | 7 [0111] |
8 | 0 [0000] | 7 [0111] | 0 [0000] |
9 | 1 [0001] | 7 [0111] | 1 [0001] |
10 | 2 [0010] | 7 [0111] | 2 [0010] |
11 | 3 [0011] | 7 [0111] | 3 [0011] |