Assembly Language - Addressing Modes
First of all sorry guys for this late post but I am having some internet issue due to corona virus.... As I show in the previous post that how a assembly program is looks like and how it is executed.... Now in this post I am going to explain different Addressing Modes and why they are important.
I won't go in much detail and only try to cover the important part in simple way...
Addressing Modes :-
- Addressing modes they defines the flexibility to address the data in different/particular way....
Types of addressing modes :-
- Register Addressing Mode
- Memory Addressing Mode
- Immediate Addressing Mode
Confused..... Then here are the examples.... but before examples lets take a looks at the table.... This table shows the possible combination of addressing modes...
If you are wondering why destination is the first column then after every assembly instruction is executed then first operand would be the destination... that's why table is shown that way to make it easy
Examples :-
1. Register to Register
2. Register to Immediate
3. Register to Memory
4. Memory to Immediate
5. Memory to Register
Here you will not see any memory to memory combination because you cannot directly transfer from memory to memory. To do that you have to first transfer value from memory to register and then register to memory.
Now that's it for this post and now in the next few post I am going to show you different instructions and there syntax and also some other interesting things so till then keep smiling .... :)
Also as I said I am having a internet issue so I can't tell you the timing of post I am going to publish so gomen ne...
Assembly Language - Addressing Modes
Reviewed by h4kk4
on
April 11, 2020
Rating:
No comments:
Enter your comments here if you need any help: