Signal Pattern Detector
Solution
Solution
@0
@1
0:
MOV ANY,ACC
MOV 0 ANY
JNZ 0
1:
MOV ANY,ACC
MOV 0,ANY
JNZ 0
2:
MOV ANY,ACC
JNZ RESET
MOV 1,ANY
JMP 2
RESET:
MOV 0,ANY
@2
MOV LEFT,DOWN
@3
@4
@5
@6
MOV UP,DOWN
@7
@8
@9
@10
MOV UP,DOWN
@11
November 12, 2022
@0
@1
0:
MOV ANY,ACC
MOV 0 ANY
JNZ 0
1:
MOV ANY,ACC
MOV 0,ANY
JNZ 0
2:
MOV ANY,ACC
JNZ RESET
MOV 1,ANY
JMP 2
RESET:
MOV 0,ANY
@2
MOV LEFT,DOWN
@3
@4
@5
@6
MOV UP,DOWN
@7
@8
@9
@10
MOV UP,DOWN
@11
← Previous: TIS-100 Segment : 33762
November 12, 2022