Task: Grumpy Jumps
You will solve the exercises starting from the grumpy_jumps.asm
file located in the tasks/grumpy-jumps
directory.
-
Modify the values of the
eax
andebx
registers so that when the program is run, the messageWell done!
is displayed. Follow theTODO
comments. -
Why does the wrong message still appear? Modify the source so that the wrong message is not displayed anymore.
TIP: To determine the necessary values for the
eax
andebx
registers, we recommend using GDB.
To test the implementation, enter the tests/
directory and run:
./run_all_tests.sh
test_display_right ........................ passed ... 50
test_display_only_right ........................ passed ... 50
========================================================================
Total: 100/100
If you’re having difficulties solving this exercise, go through this reading material.