Spread Knowledge With Simplicity..................

Blogroll

Thursday, January 23, 2014

step by step procedure to perform addition of two number in Assembly language using debugger Lecture-3

Lecture -3

  Addition Program in Assembly Langauage

step by step procedure to perform addition of two number in Assembly language using debugger..


Note :-If you want to do Assembly Language programming then  you to follow following Step

step:-1

  • Open Command prompt type debug and press enter 



 step:-2

     After pressing  enter type  (a) to change debugger into assembly language mode


 step:-3
 
Step:-4  Initialize data Segment

Step:-5

Step:-6

Step:-7

   



 Step:- 8 Perform tracing by pressing  t continue and view content of registers









Share:

Tuesday, January 21, 2014

Introduction of assembly language Lecture -2

Introduction of assembly language  Lecture -2

 

Lecture -2

Assembly Language:-

                                In Assembly language mnemonic code  (ADD, SUB, MUL)

are used in place of large machine instruction.so user don't have to remember large 

set of instruction for performing different operation. e.g.

                                5                                                  101
                            +  5                                  ADD       101
                          ---------                          --------------------     
                               10                                               1010

Note :-If you want to do Assembly Language programming then  you to follow following Step

step:-1

  • Open Command prompt type debug and press enter 

 


 step:-2

     After pressing  enter type  (a) to change debugger into assembly language mode


 

Share:

Learn C programming online/ Learn C programming in 21 Days

Learn C programming online

Lecture -1 

Basic Understand of Computer and its Language

Note:-If any one want to start learn "c" Programming then He/She have to remember following things.

  • First very important that It required patience in you.
  • Keen Interest for programming .
  • You to ask question that from where we have to start .
  • What is the right way to learn C programming .
  • It doesn't Requires Any Coaching ,the thing which is required is your effort.
  • How Important  It is . 
  • Be-live me if you learn  "C" then you don't need to learn any other language.
  • There are lot of books available in market for "c" ,but not a single book which tell us that how to read and learn
  • Here i will provides you step by step procedure to learn "c" Programming. 

Step :-1

Understand the Definition of Computer/What actually Computer is?

Definition:- 

Computer is a Electronic device ,which takes Data and Instruction as input from user and perform processing over it and generates desire output.Here i want to coin out some term like data (fact,figure,information,from user)and instruction indicates what operation computer have to perform over input data and How it have to perform.

Needs of Languages:-

like in Human being if they want to communicate with each other they required a common language which is understand by both the party,then only communication is possible.

Same as If you want to communicate with Computer (M/C) you have to communicate in computer language i.e. Machine language (0101010)...

Note :- So What you think which language is used first to communicate with computer 

Machine language only..

Machine Language:-

                                       Machine Language also called Low level language in which binary number (010101) is used to write instruction for computer.
for example if you want to write simple program for addition of two number then

suppose you want to perform addition of 5 and 5 then first you have to provide binary equivalent of five to machine and then instruction for addition which again written in machine language
.e.g.

                                                                      Figure :-1

Machine Language Programming Have various advantage And Disadvantages

  Advantages of Machine Language:-

  • Execution time of program is very less Because it doesn't Requires any translator.
  • Better Hardware Interaction Because it close to Hardware.
  • Provide Real time Interaction to the users.

Disantages of Machine Language:-

  • Not user Friendly because user have to remember large set of instruction which are written in binary language.
  • It Doesn't provide Abstraction 
Note :- To overcome the limitation of Machine Language a new language come into the picture known as Assembly language.

Share:

BTemplates.com

BTemplates.com

Contact Us

Name

Email *

Message *

Labels