Examples:
| REPRESENTATION | |
|---|---|
| Decimal | Monadic |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Monadic Incrementer - The instructions are: Try the string 1111
(A, 1, A, 1, R)
(A, b, B, 1, R)

|
(A,
1, A, 1, R)
(A, b, B, 1, R) |
START
|
b
|
1
|
1
|
1
|
1
|
|||||
|
|
|
|
|
|
A
|
||||||
|
|
b
|
1
|
1
|
1
|
1
|
||||||
|
|
|
|
|
A
|
|
||||||
|
|
b
|
1
|
1
|
1
|
1
|
||||||
|
|
|
|
A
|
|
|
||||||
|
|
b
|
1
|
1
|
1
|
1
|
||||||
|
|
|
A
|
|
|
|
||||||
|
|
b
|
1
|
1
|
1
|
1
|
||||||
|
|
A
|
|
|
|
|
||||||
|
|
|
1
|
1
|
1
|
1
|
1
|
|||||
|
HALT
|
B
|
|
|
|
|
|
Post-Class Activity:
Work through the next two slides


CS1104 Main Page
Last Updated 01/05/2000
© L.Heath, 2000