Talsystem - binär, hexadecimal, BCD-kod

Page 5

Falkenbergs Gymanasieskola

Digital Teknik

Talsystem

Lärare: Vesat Ademi

i) 231(10) = ?(BCD) j) 122(10) = ?(BCD) Lösningsexempel: 345(10) = ?(BCD) Vi använder följande tabell: 3 motsvarar 0011 4 motsvarar 0100 5 motsvarar 0101 Då har vi: 345 (10) = 1101000101(BCD)

DEC 0 1 2 3 4 5 6 7 8 9

BCD 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001

Övning 6: Omvandla från BCD till decimal talsystem: a) 100100101001 (BCD) = ?(10) b) 100111(BCD) = ?(10) c) 1110001(BCD) = ?(10) d) 1100110 (BCD) = ?(10) e) 10000001(BCD) = ?(10)

Sida 5 av 6


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.