Translate

Saturday, September 6, 2014

How to read the Instruction Set Table?

Reading the instruction set table is one of the most easiest way to do in this world! 

It is composed of rows and columns. 

You will notice it  in the pictures below.


You'll see the format of each instruction in the instruction set table.  

You can also see the designated numbers per column and row.

To be able to know the assembly code of each instruction , you'll just have to combine the numbers of each row and column.

For example, NOP instruction.
NOP instruction has a designated column number and a designated row number if you notice.

To get the first  number of its assembly code, know the column number where the instruction belong.
As NOP as our example, NOP belongs to column number 0.






To get the second number of its assembly code, trace its row number. The row number of NOP instruction is also zero.
That means, NOP instruction has a assembly code 00. 

So, that's it!! As simple as that!

Kindly comment things that makes you difficult to understand in this post. I am enthusiastic to answer them right away. Thanks!

Disclaimer: I don't own any single photos in this post.
Reference: 8051 Microcontroller Instruction Set. Atmel Corporation 2006.

31 comments:

Ruby Ann Cruz said...

This reminds of the periodic table of elements. Hahaha.
Thanks for sharing your ideas :)

Unknown said...

this information will help us in programming and i'm sure it will become useful for our future studies

Unknown said...

I wish that making program is as easy as nop.. hehehe
It is same with motorola instructions....

Unknown said...

This is so handy! When I saw your sample program, I tried finding the instructions and viola! It's there! :D

VERY VERY VERY USEFUL!!! Especially to us computer students and to those people who loves to surf about computer programming...

=)

Unknown said...

whoaa !
i can see the essence of this in assembly language .
at the very first part in taking up this subject, i find it hard to understand but at a later time .
i can grasp every single point of it :)

thanks! very useful !

-Baroque.Works- said...

Nice Advice, I appreciates on how you interpret the table for the beginner. To let them know the assembly code to each instruction, it's like a mnemonic device in chemistry that make easier to know what the electron configuration for each elements.
-Dennis

Anonymous said...

woooo.. you're right about "AS SIMPLE AS THAT"

I remember my notebook when I was elementary, yung multiplication table? WAHAHAHAHA (insert witchy laugh)

I have instantly appreciated assembly codes :)
THANK YOU SO MUCH..

-anaPANGET

Unknown said...

http://www.keil.com/dd/docs/datashts/atmel/at_c51ism.pdf

additional information. i hope, it will help for us

Unknown said...

Very usable specially for students.. this will be a great help for us. thank you ma'am.

Ma. RegiNe D. Abalajen said...

Thanks for the tips. Now that I've already learned it, I'm on the right track reading the Instruction Set Table Mam. This is a BIG HELP. :)

Unknown said...

.By giving us a very important term and the step by step procedure at How to read the Instruction Set Table..Its a very big help to us that you give a very informative topic. Just like other said it looks like a periodic table an multiplication table. its rely cool

Unknown said...

Thanks ma'am .. this is very useful ..

Unknown said...

Nice! Easy to understand especially for the beginners. Well-explained.

Jeanny Rose Lao-ang said...

A very useful information that is easy to understand. This will surely be a great help to us. Thanks :)

Unknown said...

The instruction set seems similar to the other instruction sets that I encountered from past learnings. This post is surely handy when it comes to programming.

Anonymous said...

the instruction set of this topic seems more difficult compared with the ins. set before..

-joyce ann
#04_26

Unknown said...

GREAT BLOG ! :D Thank you for sharing your knowledge on how to read the instruction set table. :)))) It helps us save more time on working with this.

Bagz :) said...

Is it like multiplication table ????
hahahahaha this seems more accessible than the previous instruction sets , the instructions are easy to find :)


thanks for this blog this is such a big help.. ^^

~Peejay Jet~ said...

Lots of Instruction set and I can't clearly understand when I first saw them. Your explanations on how to read them is a very big guide for us. But it is more credible if you will discuss that in actual :)

Sch a great instructor :)

~ALPAS Judith~

Unknown said...

it's handy and not that hard to understand :)

so it'd be less hard for us to program an ATMEL Microcontroller seeing this ahead of time :)

Unknown said...

You clearly explained this post that's why it's easy to understand by the beginners like me. Thank you very much for this. :)

Unknown said...

You explained it as simple as possible. It is easy to follow and understand. It will be such a great help for the beginners like me. Thank you for this! :)

Unknown said...

This is what exactly students need. I think I will surely try it over and over again. :">

Unknown said...

This is what exactly students need. I think I will surely try it over and over again. :">

Unknown said...

well explained instruction.. thanks for this ma'am :)

Unknown said...

haha xD

first i saw the photo , i dunno what should i do but when i look on it for several minutes ....

me : wow B|

this info will help us on our program career hahaha ! and also for out future studies .

i hope this will be easy for me to study about programming

keep it up ! thanks for this

~~~~~~~Azzir Adriano

Unknown said...

Thanks for sharing your knowledge regarding on using the Instruction Set Table.. :) It will help us to look for the instruction needed to use in programming.

Ronalyn A. Balando said...

Nice blog! :) It will help for me to understand more the instruction set. THANKS ma'am :)

Jean Carol Colico said...

This information will surely help us..this is really useful with the beginners to let them understand easily on how to read the instruction set table properly..:)

Jean Carol Colico said...

This information will surely help us..this is really useful with the beginners to let them understand easily on how to read the instruction set table properly..:)

Unknown said...

Very interesting! :D Another complicated instruction Set for me. But this post is very useful to know the instruction/procedure behind that instruction set :D Thankyou Ma'am #Pahabol.