1
00:00:00,150 --> 00:00:08,430
So we know we are going to see some basic instructions you will face in the assembly, first instruction

2
00:00:08,450 --> 00:00:12,450
is more instruction, more eggs.

3
00:00:12,480 --> 00:00:13,030
Come on.

4
00:00:13,890 --> 00:00:16,690
So let me break down this discontinuity.

5
00:00:17,100 --> 00:00:19,000
So these new warnings are pretty frightening.

6
00:00:19,000 --> 00:00:23,050
And so you cannot change them and you need to write as it is.

7
00:00:23,640 --> 00:00:25,950
This is a movie, not a movie.

8
00:00:26,400 --> 00:00:31,440
And more operation does not mold our values, but copies the values.

9
00:00:32,130 --> 00:00:36,290
And this place is called a destination operand.

10
00:00:36,480 --> 00:00:37,920
And this is Khazars Opera.

11
00:00:39,430 --> 00:00:45,260
And if I Somogyi come out one, the one value will be copied in a year.

12
00:00:46,090 --> 00:00:52,150
So whatever the value previously is in the years will get sorted one by one.

13
00:00:53,620 --> 00:00:58,840
As you can see on the right side, I have put the semicolon and I have written this is a comment.

14
00:00:59,170 --> 00:01:06,340
So in the Hyrule languages you can see like in Python Hash is a comment in Zietz is a comment in the

15
00:01:06,340 --> 00:01:08,530
same way assembly language has comments.

16
00:01:09,340 --> 00:01:11,980
These comments are used to understand the code.

17
00:01:12,970 --> 00:01:20,480
And in assembly you can simply put semicolon and you can write whatever the description you can you

18
00:01:20,530 --> 00:01:21,130
want to write.

19
00:01:21,820 --> 00:01:24,100
And the second instruction is add instruction.

20
00:01:25,240 --> 00:01:30,370
This adds two registers and starts shooting destination register.

21
00:01:30,760 --> 00:01:32,950
So add years, comma ebooks.

22
00:01:33,370 --> 00:01:43,380
So what this does is it will take the value of X and Ebix and it will add both results, both operands

23
00:01:43,390 --> 00:01:45,430
and the result will be scored in the eggs.

24
00:01:45,820 --> 00:01:52,390
As you can see, I put the comment x this operation performs this calculation.

25
00:01:52,600 --> 00:01:57,310
X is equal to express evicts in the similar way.

26
00:01:57,310 --> 00:02:03,430
Subtraction operation simply performed subtraction in the same way as a variation.

27
00:02:03,910 --> 00:02:11,170
So you can just simply say this as X is equal to X minus X.

28
00:02:12,870 --> 00:02:20,450
And the next instruction is our instruction or egomaniacs, what this instruction does is it will perform

29
00:02:20,460 --> 00:02:26,790
the big plays or operation between those registers and it will store in the destination register.

30
00:02:27,660 --> 00:02:33,330
As you can see, X equals to X bitwise or so.

31
00:02:33,330 --> 00:02:35,040
The next injection is that.

32
00:02:36,890 --> 00:02:37,860
Jump in action.

33
00:02:38,420 --> 00:02:45,950
This is called unconditional jump whenever you write this code in the assembly, whenever it gets executed,

34
00:02:46,280 --> 00:02:48,860
the program jumps to this address.

35
00:02:49,730 --> 00:02:52,570
So here I have Spaceward 123456 on it.

36
00:02:52,910 --> 00:03:00,800
So whenever my code has been executing, whenever it hits, dump the code program for Odoms from that

37
00:03:00,800 --> 00:03:02,510
point to this address.

38
00:03:02,870 --> 00:03:09,680
So if this address contains some instructions to get executed, you can see this jump as code to statement

39
00:03:09,680 --> 00:03:13,470
in program, which does which does unconditional jump.

40
00:03:15,110 --> 00:03:22,520
So if you are in the exploitation perspective or some other reverse engineering, this jump into action

41
00:03:22,520 --> 00:03:23,370
is very important.

42
00:03:23,630 --> 00:03:25,770
And this is the basic jump.

43
00:03:25,790 --> 00:03:29,780
There are a lot more jumping instructions based on condition.

44
00:03:29,990 --> 00:03:31,660
And we are also looking to that.

