Senin, 13 April 2009

TUGAS DIGITAL 3

TUGAS DIGITAL 3

INPUT : A = 7C B = A5


GERBANG LOGIKA =

A . B

A +B

___

A . B

___

A+ B

A(+)B

JAWAB: 7 C = 0111.1100

A 5 = 1010.0101

INPUT A

INPUT B

A . B

A+B

___
A . B



___
A+B

A (+) B

0

1

0

1

1

0

1

1

0

0

1

1

0

1

1

1

1

1

0

0

0

1

0

0

1

1

0

1

1

0

0

1

1

0

1

1

1

1

1

0

0

0

0

0

0

0

1

1

0

0

1

0

1

1

0

1

Konversi Ke HEX

2 4

F D

DB

2

D 9

HASIL:

INPUT A= 7C INPUT B= A5

A . B = 0010.0100 = 2 4

A +B = 1111.1101 = F D

___

A . B = 1101.1011 = DB

___

A+B = 0000.0010 = 2

A (+)B = 1101.1001 = D9

Tidak ada komentar:

Posting Komentar