Documente Academic
Documente Profesional
Documente Cultură
أﺣﻤﺪ اﻟﺤﺮﺑﻲ/دآﺘﻮر
- This course has two major objectives: to teach procedures for the
People
Application programming
Compilers Assemblers Macro Processors
Loaders Text editors Debugging aids Searching and sorting
I/O File Scheduler Libraries Memory Device
programs systems management management
Machine Structure
system.
1
- Memory is the device where information is stored.
ﻳﺴﻤﻰ0 أو1 (وآﻞ ﻣﻦones & zeros) ﺗﺤﻔﻆ ﻓﻲ ﺷﻜﻞinformation وآﻤﺎ ﺗﻌﺮﻓﻮن أن
.(word, character
2
- The contents of a word may be interpreted as data (values to be
operation codes).
- The I/O processors are concerned with the transfer of data between
and typewriters.
memory.
3
.programming system اﻷﺳﺎﺳﻴﺔ ﻟﻠـcomponents آﻞ ذﻟﻚ هﻮ ﻋﺒﺎرة ﻋﻦ
• Assemblers:
language.
• Loaders:
ﻓﺎن هﺬا اﻟﺒﺮﻧﺎﻣﺞ ﻳﻮﺿﻊ ﻓﻲ اﻟﺬاآﺮة وﻳﻨﻔﺬobject program ﻳﻨﺘﺞassembler ﺑﻤﺠﺮد أن
أﻳﻀًﺎ اﻟﻤﺒﺮﻣﺞ ﻳﺠﺐ أن ﻳﺤﻮل ﺑﺮﻧﺎﻣﺠﻪ آﻤﺎ ﺳﺒﻖ ﻣﻊ آﻞ. ﻓﻲ اﻟﺬاآﺮةassembler ﻣﻊ ﺗﺮك
.ﻼ
ً وهﺬا ﻳﺄﺧﺬ وﻗﺘًﺎ ﻃﻮﻳ،ﻣﺮة ﺗﻨﻔﻴﺬ
.Loader
4
- An open subroutine or “macro definition” is one whose code is
( ﺗﻢ ﻣﻨﺎداﺗﻪ أرﺑﻊ ﻣﺮات ﻓﺈﻧﻪ ﻳﺠﺐ أن ﻳﻈﻬﺮ ﻓﻲ أرﺑﻊopen Subroutine) ﻟﺬﻟﻚ ﻟﻮ ﻧﻔﺲ
ﻳﻮﺟﺪ ﻣﻊ هﺬا اﻟﻨﻮع ﻣﻦ، ﻳﻤﻜﻦ أن ﻳﺨﺰن ﺧﺎرج اﻟﺒﺮﻧﺎﻣﺞ اﻟﺮﺋﻴﺴﻲclosed subroutine -
closed ( ﺣﻴﺚ أنcontrol and transfer of data) واﻟﺜﺎﻧﻲ ﻳﺠﺐ ﻧﻘﻞ ﻟﻠـ-
(loading).
5
Macros
definition.
After that, the macro processor substitutes the definition for all
Compilers
Machine Structure
registers.
6
- The instruction interpreter is a group of electrical circuits (H.W.)
(IR).
MBR and the core memory location the address of which is in the
MAR.
7
.( ﺗﻌﻤﻞmachine structure) ﻟﺸﺮح آﻴﻒ أن هﺬﻩ اﻟﻤﻜﻮﻧﺎت ﻟﻠـ
ﻋﺎﻣﺔ وهﻢ ﺑﺎﻟﻨﻈﺎمregisters ( ﻳﻤﻠﻚ أرﺑﻌﺔSC-6251) ﻋﻠﻰ ﺳﺒﻴﻞ اﻟﻤﺜﺎل اﻟﻜﻤﺒﻴﻮﺗﺮ ﻧﻮع
( ﺑﺎﻟﺸﻜﻞbasic instruction) ﺣﻴﺚ ﺗﻜﻮن،(00, 01, 10, and 11) اﻟﺜﻨﺎﺋﻲ آﻤﺎ ﻳﻠﻲ
:اﻟﺘﺎﻟﻲ
ADD 2, 178
8
MAR -ﺗﺤﺘﻮي ﻋﻠﻰ اﻟﻌﻨﻮان ﻟﻠـ memory locationﻟﺘﻘﺮأ ﻣﻨﻪ أو ﻳﺨﺰن إﻟﻴﻪ.
MBR -ﺗﺄﺧﺬ ﻧﺴﺨﺔ MARﺑﻌﺪ اﻟﻘﺮاءة أو اﻟﻤﺤﺘﻮﻳﺎت اﻟﺠﺪﻳﺪة ﻟﻠـ MLﻋﺸﺎن ﺗﺠﻬﻴﺰهﻢ
ﻟﻜﺘﺎﺑﺔ.
ﻓﻲ .MAR
• اﻟﺒﺎﻗﻲ واﺿﺢ.
9
10
11