hexadecimal 16
decimal 10
octal 8
binary 2
4bit 2補數
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000 -8
9 1001 -7
10 a 1010 -6
11 b 1011 -5
12 c 1100 -4
13 d 1101 -3
14 e 1110 -2
15 f 1111 -1
16bit 2補數
0x7fff = 32767
0x8000 = 32768, -32768
32bit 2補數
0x7fffffff = 2147483647
0x80000000 = 2147483648, -2147483648
1k = 1024 = 0x400
4k = 4096 = 0x1000
8k = 8192 = 0x2000
8khz sampling rate, period 125us, 0.125ms
沒有留言:
張貼留言