Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
-mov 0 p1
If one TEQ comparison from above will negative, will the pointer jump to -mov 0 p1 .
You have to rearrange this. :)
Also dont get me wrong i dont like calling out "It is a bug" in case something does not work, but i really cant explain right now.
In particular, the "slp 1" statement at the start seems particularly dodgy - you assume that the sensor starts off, but single stepping through the execution makes it obvious that this is not the case in all test cycles
That is the point. If the sensor is not on, it skips the 2nd test and jumps to outputting zero as per the specification. If the sensor is on, but the input is less than or equal to 20, then it still outputs 0 as per the specification. Only if the sensor is both ON and the input is greater than 20 is the output set to 100, as per the specification.
IF teq dat x0 == NEG
Return(mov 0 p1)
IF teq dat x1 == NEG
Return(mov 0 p1)
IF teq acc 1 == NEG
Return(mov 0 p1)
Thats, because it just exists only one negative Instruction for all Comparisions.
Its like a switch break comparison. In the case which we see is the Negative Instruction equal to "Default:".
Or my imagination goes wrong with me, but I guess this is the problem.
In particular, the "teq acc 1" is always executed (since it doesn't have a prefix and there are no jumps to skip it), so the results of the earlier tests are overwritten.
As mentioned above, i dont like calling out it`s a bug, but im working on this puzzle for a several days and couldn`t explain the output given by the rules and the input values. (Also see my Edit in the 2nd post) . Also i asked if the level was bugged or if there was just a error in my code i didn`t see. But i definitly see that you didn`t really read the topic and instantly judge.
BTW you can get rid of the second MC by using an DX300 to output the alarm.
Having re-read the description I wrote a really simple program that would only detect when time boundary is crossed and voila, tests passed.