Complementare un bit
Esempi
Nastro iniziale | Nastro finale | |
---|---|---|
1° | 0 | 1 |
2° | 1 | 0 |
Diagramma di stato

Legge il bit, scrive il suo complemento e si ferma…
Quintuple
(0, 0, H, 1, -) | O -> 1 |
(0, 1, H, 0, -) | 1 -> 0 |
Programmare con la macchina di Turing!
Sezione di VALCON.IT
Complementare un bit
Nastro iniziale | Nastro finale | |
---|---|---|
1° | 0 | 1 |
2° | 1 | 0 |
Legge il bit, scrive il suo complemento e si ferma…
(0, 0, H, 1, -) | O -> 1 |
(0, 1, H, 0, -) | 1 -> 0 |