![](https://colelato.com/wp-content/uploads/2023/08/ARMssembly0-1024x880.png)
In this challenge we are given an assembly code and two integers and asked what the program would do with the two arguments. I have no knowledge but after several hours of asking ChatGPT and googling how assembly works I deduced that it was just asking which number is bigger.
![](https://colelato.com/wp-content/uploads/2023/08/Assemblycode-506x1024.png)
The main is the function that takes in the data and then calls func1 to compare the two and prints the bigger of the two. We can tell just by looking at the numbers which one is bigger so let’s take that integer, convert it to hex, and then format it as described.
![](https://colelato.com/wp-content/uploads/2023/08/flag-2-1024x207.png)
Once you add the picoCTF{} wrap you’ll have the flag.