Welcome! This page lets you to control the Mars Rover by writing a program for it.
Rover runs programs made of bytes (and each byte is a number between 0 and 255). We describe those bytes with hex, where each byte is written as two characters:
The Rover expects its programs to start with a short signature that says "I am a rover program": the four characters MVM1 (what are their bytes?).
After that, the rest of the bytes describe what to do.
You can type your program in the box below. Spaces and newlines do not matter, so both of these programs are identical:
4D564D31 01000059 4D 56 4D 31 01 00 00 59
When you click Run, you’ll see three steps update above the results:
1) Small program which does nothing and exits:
4D564D3101000059
2) Add two numbers (2 + 3) and print the result — you should see 5 in "Program output":
4D564D310E00011002000000100300000058016059060200200020013059
aa is the same as AA.A, the decoder will complain.MVM1. If not, parsing will fail.Lost the rover’s technical docs? Us too. Part of the challenge is to experiment: change some bytes, re‑run, and see how the stack and output change. While solving, you can use everything you want!
—
—
Idle