1 / 11

資料儲存單位

資料儲存單位. 位元: bit 位元組: byte(1byte=8bits) 可表示 2 8 =256 字組: word(=16bits=2bytes) 256*256=65536 位址 (address) :記憶體中儲存資料的位置代碼. 1.44mb=1.44*1024*1024 bytes. 正整數. 0000 0000 0000 0001 0000 0010 1111 1111. 0 1 2 255. 最高位元表示法. 0 1 2 3 -1 -2. 0000 0000 0000 0001 0000 0010 0000 0011

berg
Télécharger la présentation

資料儲存單位

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 資料儲存單位 • 位元:bit • 位元組:byte(1byte=8bits)可表示28=256 • 字組:word(=16bits=2bytes) 256*256=65536 • 位址(address):記憶體中儲存資料的位置代碼

  2. 1.44mb=1.44*1024*1024 bytes

  3. 正整數 • 0000 0000 • 0000 0001 • 0000 0010 • 1111 1111 • 0 • 1 • 2 • 255

  4. 最高位元表示法 • 0 • 1 • 2 • 3 • -1 • -2 • 0000 0000 • 0000 0001 • 0000 0010 • 0000 0011 • 1000 0001 • 1000 0010 • 1000 0000

  5. 1‘補數 • 0 • -0 • 1 • -1 • 2 • -127 • 127 • 0000 0000 • 1111 1111 • 0000 0001 • 1111 1110 • 0000 0010 • 1000 0000 • 0111 1111

  6. 2‘補數表示法的優點 0100=(4)10 (0100)的1補數=1011 (0100)的2補數=1100 因此(-4) 10=1100 (+4) 10+(-4) 10=(0) 10 (0100)+(1100)=10000=(0) 10

  7. 1的補數和2‘補數對照 • 2‘補數 • 0 • 1 • 2 • -2 • 1補數 • 0 • 1 • 2 • -1 • 0000 0000 • 0000 0001 • 0000 0010 • 1111 1110

  8. 十進位科學符號浮點數表示法 • 1023.32=1.02332*103 • 23.32=2.332*101 • a*10b其中1a<10

  9. 二進位科學符號浮點數表示法 • 10.0101=1.00101*21 • 0101001.01=1.0100101*25 • (11.1)2=1.110000000*21 • 0.10100=1.0100*2-1

  10. IEEE浮點數表示法轉換 • (3.14159)10= (11.00100100)2= (1.1001001000011111100111110*21)2 • 128=(1000 0000) • (0.14159 ) 10 *16=(2.26544) 10 • (2) 10= ( 0010)2 • (0.26544) 10 *16= (4.24704) 10 • (4) 10= ( 0100)2

  11. (35.5)10 • =(100011.1)2 • =(1.000111000000000000000*25)2 • 5=(00000101) 2 • 5超127=(00000101) 2+(01111111) 2 • =(1000100) 2

More Related