Assembly language programming

himhk 2,917 views 12 slides Nov 01, 2014
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

No description available for this slideshow.


Slide Content

Presentation on Assembly Level Programming SUBMITTED TO :- SUBMITTED BY :- Ms Pragya Tiwari Mam Aditya Soni(05) Himanshu Rawat(38)

Machine Level Programming Complicated and time consuming More chances of error Debugging is more difficult Difficult to understand THEN ???????

Assembler MNEMONICS are directly used in the user program Perform task of CODING Convert MNEMONICS of instruction to OBJECT CODE This type of programming is called Assembly Level Programming

Assembly Level Programming Function of coding is performed by an Assembler Less chances of errors Debugging is easier and More flexible Provides facilities like macros,list etc Programming tools Editor , Assembler , Linker , Loader , Debugger

Editor The Assembly language program can be written with an ordinary text editor such as word star , Norton’s Editor and so on Norton Editor generates .ASM file

Assembler Translate Assembly language statements to their Binary equivalent, usually known as Object Code Convert .ASM file to .OBJ file Examples: MASM (Microsoft macro assembler) TASM (Turbo Assembler)

Linker Joins together several object files Into one large object file Produces a link file and link map Doesn’t assign absolute address to the modules Converts .OBJ file to .EXE file Loader Assigns specific address to segments of object code .BIN is generated which has physical address

Debugger Allows us to load object code into system memory , execute the program and debug it Allows us to change the content of memory locations Allows us to stop execution after each instruction Also allows us to set a Breakout at any point in program

Application Used in those embedded systems which have very limited resources such as memory and CPU Example: Washing machine Refrigerator DVD player HDTV etc

References :- en.Wikipedia.org K M Bhurchandi (TMH publication)
Tags