TUGAS DIGITAL 3
B = A5
GERBANG LOGIKA = A . B
A +B
A . B
A+ B
A B
JAWAB: 7 C = 0111.1100
A 5 = 1010.0101
IN A | IN B | A . B | A+B | ___ | __ | A xor 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 A . B = 0010.0100 = 2 4
INPUT B=
A5 A +B = 1111.1101 = F D
A . B = 1101.1011 = DB
A+B = 0000.0010 = 2
A xor B = 1101.1001 = D9
Tidak ada komentar:
Posting Komentar