Microprocessor 1 (Slide)
Microprocessor 1 (Slide)
• Simply, writing a program is called programming and the language used are
called programming language.
➢ easy to learn
• Source code
a program written either in mnemonics of an assembly language or
in English-like statements of high level language.
• Object code
the binary (M/C) code into which a source program is translated by
a compiler, assembler or interpreter.
Diba Das, Lecturer, Dept. of EEE, CUET
Programming Language
• Compiler
A program that translates English like words of a high level language into machine
language. Reads a given program (source code) in its entirely, translates program into
machine language(object code).
• Interpreter
A program that translates English like statements of a high level language into
machine language.
• Assembler
https://www.youtube.co
m/watch?v=Gy7POHk8
NRk
•2nd Microprocessor
❑ Later in 1971, INTEL corp., 8008
❑ 8-bit microprocessor
❑ 16kB memory, contain only 48 instructions,
❑ Execution time 20 micro-seconds
Advantage:
1. internal clock generator
2. Internal system controller
3. Higher clock frequency (3MHz)
Fig:The block diagram of a computer system showing the address, data and control bus structure
The control bus is active-low, that is, it is active
when a logic zero appears on the control line.
• The microcontroller on single chip, which typically includes a microprocessor, 64 byte RAM, 1-2 kilo
byte ROM and several signal lines to connect I/O devices.
• Microcontroller are used for such as controlling appliances, traffic lights etc.
DS 2.BX register
4.DX register
DS
6.SI register
General-
• 16-bit Source Index register
purpose • Addresses source string data for the string
instructions
Registers
DS,ES
7.DI register
3.FLAGS register
• A flag resister (F or FL) is a 16-bit registers
which indicates some condition produced by the
execution of an instruction and controls certain
operation of the MP.
• Real mode operation allows MP to address only the first 1MB of memory space—
even if it is the Pentium 4 or Core2 microprocessor.
• The first 1M byte of memory is called the real memory, conventional memory, or
DOS memory system.