AndhraPradesh Assembler Chall
20 points Easy

This is another beginner Assembly Language Programming Challenge. If you have never written any Assembler but always wanted to, this challenge is for you.

Modify the 5 (unsigned) constants at the top of AndhraPradesh.asm then compile, link and run to find the flag. A script is provided to compile, link and run the program. The program exits with different error codes when the constants are incorrect. A readme is provided with more details and references to internet tutorials on Assembler programming.

This challenge involves the je, jne, ja, jb instructions. The ah and al registers are also used. Unsigned register values are used to allow for easier inspection of register values in gdb.

Good Luck!

AndhraPradesh.zip
Flag
Rating 4.80
5
4
3
2
1

Discussion

You can make custom scripts in gdb to make life easier: https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_188.html

1

Thanks!

0

CTFlearn{haha_get_trolled}

0

purely awesome

1

nice challenge....it's really good for beginners to understand assembly

3

Thanks... I have the next challenge formed in my mind, I just need to create it.

4