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.76
5
4
3
2
1

Discussion

Nice way to understand ja and jb.

0

Thanks.

0

i still dont understand what values to change i set cont1 to 0xab cont2 to 0xcb cont3 to 0x20 cont4 and cont5 to 0baadh

0

https://medium.com/@subeshpoudel20/andhrapradesh-assembler-chall-intro-to-reverse-engineering-92d1c79f5449

0

omg thanks bro u save 2 days of my life

0

nice manage to solve the challenge by reversing the assembly instead of just running it.

0

If you don't have a linux, you can simply use ideone.cem and select assembly language.

1

nice challenge.. not a challenge ..for me but yeah learned new stuff about assembly Thanks

0

Thank you for this challenge! I learned assembler more!

0

You're welcome.

1