Documente Academic
Documente Profesional
Documente Cultură
Sahar Mukhairez
Introduction
At the beginning use of computer, Machine language ML is used for computer programming which is understood directly by the machine without the use of interpreters. Machine language is stored in binary as a combination of zeros and ones (0s, 1s) to compose an instruction of 8bit (1 byte). Later, programmers define a simple human readable language, instead of ML. This language is called Assembly.
Assembly Language
Assembly is a low level programming language consists of a series of instruction each instruction represents one machine instruction. Assembler is a utility program that converts source code programs from assembly language into machine language. Linker is a utility program that combines individual les created by an assembler into a single executable program.
Compiler
Assembler
Compiler
Assembler
Linker
Executable file
Source file
Compiler
Assembler file
Assembler
Object file
Program library
Architectures
x86 (including Intel IA-32) HP/Compaq Alpha AXP Sun SPARC Sun UltraSPARC Motorola 68000 PowerPC PowerPC64 ARM Hitachi SuperH IBM S/390 and zSeries MIPS HP PA-RISC Intel IA-64 AMD x86-64 H8/300 V850 and CRIS.
swap:
Compiler muli add lw lw sw sw jr $2, $5, 4 $2, $4, $2 $15, 0($2) $16, 4($2) $16, 0($2) $15, 4($2) $31 Assembly language Program (for MIPS)
Assembler
00000000101000010000000000011000 Binary 00000000100011100001100000100001 machine 10001100011000100000000000000000 10001100111100100000000000000100 language 10101100111100100000000000000000 program 10101100011000100000000000000100 (for MIPS) 00000011111000000000000000001000
10
11
Assembly language is an ideal tool for writing embedded programs because of its economical use of memory.
Booting process
What is booting?
The process of starting or restarting a computer
warm boot cold boot
Process of restarting a computer that is already powered on Also called a warm start
13
Booting process
How does a personal computer boot up?
floppy disk drive CD-ROM drive CMOS processor (RAM) memory modules BIOS
hard disk
Step 6
expansion cards
14
15
Step 4: The results of the POST are compared with data in the CMOS chip. (battery power)
Step 5: The BIOS looks for the system files in drive A (floppy disk drive) and then drive C (hard disk).
16
Step 7: The operating system loads configuration information and displays the desktop on the screen.
17
StartUp folder - Contains a list of programs that open automatically when you boot the computer
18
Bus
CPU
RAM
Disk
OS
Bus
OS
Bus CPU RAM
OS
Bus