> For the complete documentation index, see [llms.txt](https://picoctf2021.haydenhousen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://picoctf2021.haydenhousen.com/reverse-engineering/armssembly-3.md).

# ARMssembly 3

## Problem

> What integer does this program print with argument 2541039191? File: chall\_3.S Flag format: picoCTF{XXXXXXXX} -> (hex, lowercase, no 0x, and 32 bits. ex. 5614267 would be picoCTF{0055aabb})

* [Source](https://github.com/HHousen/PicoCTF-2021/blob/master/Reverse%20Engineering/ARMssembly%203/chall_3.S)

## Solution

1. This challenge can be solved using the exact same method as [ARMssembly 0](/reverse-engineering/armssembly-0.md).
2. Note that the output was `Result: 57`. Converting this to hexadecimal produces `39`. However, the instructions say that the flag is 32 bits, so we can simply pad out the hexadecimal to `00000039`.

### Flag

`picoCTF{00000039}`
