Challenge 1

what this code done is it set the value of the RAX register to 13

.intel_syntax noprefix

.globl _start

_start:
        mov eax,0x13

image.png

Let’s make a program that adding two numbers

.intel_syntax noprefix

.globl _start

_start:
        mov eax,0x13
        mov ebx,0x02
        add eax,ebx

image.png

What happens here that the CPU stores the value of 0x13 in the EAX Register then stores the value of 0x02 In the EBX rigester then add the value stored ion the ebx to the eax and save it in the EAX rigester which make sence tha the value of the EAX is now 0x15

Challenge 2

.intel_syntax noprefix
.globl _start
start:
	mov rax, 0x1337
	mov r12, 0xCAFED00D1337BEEF
	mov rsp, 0x31337

image.png

Challenge 3

.intel_syntax noprefix
.globl _start

_start:
	add rdi, 0x331337

image.png

Challenge 4