TUGAS DIGITAL 3
INPUT : A = 7C GERBANG LOGIKA = A . B
B = A5 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 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 B = 1101.1001 = D9
Tidak ada komentar:
Posting Komentar