COAL-1 assembly language programming.pptx

HusnianIlyas 21 views 13 slides Jul 06, 2024
Slide 1
Slide 1 of 13
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
Slide 13
13

About This Presentation

Assembly language Programming X86 Using Irvine 32 Library


Slide Content

University of Gujrat Department of Computer Science Course Code : CS-252 Computer Organization and Assembly Language Lecture # 1 Course Introduction University of Gujrat 1

Purpose of the Course To have a look at the Computer System at lower level of abstraction. To understand the functions and working of the Computer System at a basic level. University of Gujrat 2

Up till now you have studied a computer as University of Gujrat 3

Now, You’ll have a deeper look.. University of Gujrat 4

Introduction to the Course This course will have two parts Part I : Computer Organization Part II : ` Assembly Language University of Gujrat 5

Part I Computer Organization University of Gujrat 6

Computer Organization Computer Organization refers to operational units of the system together with their interconnection. University of Gujrat 7

Basic Computer Organization Interconnections between the components University of Gujrat 8

Inside a Microprocessor University of Gujrat 9

Part II Assembly Language University of Gujrat 10

Assembly Language Assembly Language is a low level programming language. It has human readable instructions of the  CPU . On PCs, the assembly language looks like this MOV AX,A ADD AX,4 University of Gujrat 11

Programming Languages University of Gujrat 12

Why Assembly Language ? Assembly language helps to u nderstand the functioning of computer system at a lower level Compiler is a dumb software, the code produced by it is not an optimized code. It produces a lot of garbage and unnecessary stuff. In normal programs such garbage is acceptable but there are a situations where this loss is unbearable . University of Gujrat 13