I Will Be Execute
Although I understand the code I got stocked there. It was not to hard to find out that the first error “illegal value” is due to the wrong memory cell addressed. After changing the address to s<3> the code runs forever in that loop which leads to the “too many cycles” error because the program counter is always added by “-32” and this is because the comparison “:” never comes to a state where it returns “0” so that the following command “?” would add “6” to the program counter which then would lead to the end of this program. I’ve tried different ways to get there but all my answers were incorrect, where am I going wrong? I’m not asking for the solution, just for a slight hint if it is possible
well first of all :
assume all memory cells are initialized with 0..in hvm-website u should write it down in the mem-cells
then try to find a pattern.... thats not too hard! since there is a value ':' will return a 0
if u follow the instructions u should see very quickly where it will goes ...
*hint*
btw searching within the forum for hvm might help
assume all memory cells are initialized with 0..in hvm-website u should write it down in the mem-cells
then try to find a pattern.... thats not too hard! since there is a value ':' will return a 0
if u follow the instructions u should see very quickly where it will goes ...
*hint*
btw searching within the forum for hvm might help
Runaway Robot LvL 452
path: DDDRDRDDRRDDRRDRRRDDRRRRDDDRRDDDRRDRDRDRDRRRRRDRRDRRRRRDDRRDDDDRDRRRDRRDDRDRDRRRRRDRDDDRDDRDRRRRDDDDDDRRRRRRR
boom at 1 1
your solution sucked
Oo wtf?
path: DDDRDRDDRRDDRRDRRRDDRRRRDDDRRDDDRRDRDRDRDRRRRRDRRDRRRRRDDRRDDDDRDRRRDRRDDRDRDRRRRRDRDDDRDDRDRRRRDDDDDDRRRRRRR
boom at 1 1
your solution sucked
Oo wtf?
why does it redirects me to the "challenges" thread of the challenge if I already solved it? It happens only with some challenges...
It should redirect me to the challenges solved section, so that I can discuss the way I solved it, or else i'll end up posting on the unsolved and give away the answer to the guys that didn't :S
It should redirect me to the challenges solved section, so that I can discuss the way I solved it, or else i'll end up posting on the unsolved and give away the answer to the guys that didn't :S
hey guys, i don't get it. i analyzed the code and i actually got it. i found THE number which gives me the "0" by "?". i also found the min and max values during which no "too many cycles"-exceptions are thrown. and i can build up a series which represents all outputs from min to max. and i also summed up all outputs (which gives a nice looking result which is unfortunately FALSE *grml*).
i guess i don't get it what to type in as the solution.
i guess i don't get it what to type in as the solution.
-
- Forum Admin
- Posts: 496
- Joined: Sat May 28, 2011 9:14 am
- Location: Germany