From f0171c52d5e92f732b36c527286187cc5dc79d9c Mon Sep 17 00:00:00 2001 From: lucky-vers Date: Fri, 3 Nov 2023 16:03:53 +0530 Subject: [PATCH] Add assembly explanation --- Phase 2/01 Reverse Engineering.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Phase 2/01 Reverse Engineering.md b/Phase 2/01 Reverse Engineering.md index b348634..20956ac 100644 --- a/Phase 2/01 Reverse Engineering.md +++ b/Phase 2/01 Reverse Engineering.md @@ -169,6 +169,8 @@ Searching for the main function `main:`, we get 113f: 90 nop ``` +Here, the instruction `mov $0x86342,%eax` is of interest to us here. In simple terms, it means the hexadecimal number `0x86342` is being set (`mov`) as the value for the register `eax`. + The value finally in `eax` is therefore 0x86342 in hexadecimal, or `549698` in decimal. # ARMssembly 0