For the first challenge “Self-Test Diagnostic” we need to complete the following task:
Read a value from IN.X and write the value to OUT.X.
Read a value from IN.A and write the value to OUT.A.
Solution
This challenge will help you understand how to transfer input data from one node to another. IN.X sends data to node #1 and needs to be transfered to OUT.X below node #9. IN.A sends data to node #4 and needs to be transfered to OUT.A below node #12. To solve for Ouput.X, we need to MOV the data being inputed from IN.X which is above node #1UP and move it DOWN to node #5 and so on and so forth. The sequence of commands to transfer IN.X to OUT.X is:
MOV UP, DOWN #N1
MOV UP, DOWN #N5
MOV UP, DOWN #N9
To solve for Ouput.A we have to work around node #8 since there is a communcation failure and can not be accessed. The sequence of commands to solve for OUT.A are:
MOV UP, LEFT #N4
MOV RIGHT, DOWN #N3
MOV UP, DOWN #N7
MOV UP, RIGHT #N11
MOV LEFT, DOWN #N12
After completing the following sequences, you can now press F5 to run and solve the program!
TIS-100 | Self-Test Diagnostic
Tasks
For the first challenge “Self-Test Diagnostic” we need to complete the following task:
Solution
This challenge will help you understand how to transfer input data from one node to another. IN.X sends data to node #1 and needs to be transfered to OUT.X below node #9. IN.A sends data to node #4 and needs to be transfered to OUT.A below node #12. To solve for Ouput.X, we need to
MOV
the data being inputed from IN.X which is above node #1UP
and move itDOWN
to node #5 and so on and so forth. The sequence of commands to transfer IN.X to OUT.X is:To solve for Ouput.A we have to work around node #8 since there is a communcation failure and can not be accessed. The sequence of commands to solve for OUT.A are:
After completing the following sequences, you can now press F5 to run and solve the program!
Connect With Me 😊