قديم منذ /05-12-2016, 10:07 AM   #1

طالب جديد

روووودي غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 10505
 تاريخ الإنتساب : Jul 2014
 مقر الإقامة : المدينة المنورة
 فرع الجامعة : فرع المدينة المنورة
 التخصص : بكالوريوس تقنية معلومات
 المستوى : المستوى الثالث
 المشاركات : 22
 الجنس : أنثى
 مستوى التقييم : روووودي is on a distinguished road
النقاط : 0

شكراً: 0
تم شكره مرة واحدة في مشاركة واحدة
Unhappy Assignment 3


Assignment 3

Last date of submission: 10 December, 2016. M. Marks : 5



1- Explain any three important instruction set design issues.

2- Is it easier to write programs in assembly codes using CISC compared to RISC? Why?

3- Which instructions can reference memory in CISC and RISC?

4- How do you translate the high-level statement : C=A+B into instructions:
a- Using 3 addresses instructions format
b- Using 2 addresses instructions format
Assume A, B, C are CPU registers and the following mnemonics exist: ADD, SUB, MOVE

5- What is the benefit of pipelining? And how it works?

6- What are the basic elements of a machine instruction?
7- Define the following:
a. Fetch – Execute Cycle
b. MAR – MDR
c. Status Register


بالله ياجماعه ساعدونا فيه وربي يجزاكم خير








  رد مع اقتباس
الأعضاء الذين قالوا شكراً لـ روووودي على المشاركة المفيدة:

قديم منذ /06-12-2016, 02:16 AM   #2

طالب جديد

lozah غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 6857
 تاريخ الإنتساب : Oct 2013
 المشاركات : 23
 الجنس : أنثى
 مستوى التقييم : lozah is on a distinguished road
النقاط : 0

شكراً: 2
تم شكره 0 مرة في 0 مشاركة
افتراضي


نرجو المساعده








  رد مع اقتباس
قديم منذ /06-12-2016, 03:48 AM   #3

 
الصورة الرمزية yusuf
طالب جديد

yusuf غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 12844
 تاريخ الإنتساب : Dec 2014
 مقر الإقامة : المدينة المنورة
 فرع الجامعة : فرع المدينة المنورة
 التخصص : بكالوريوس تقنية معلومات
 المستوى : المستوى الثامن
 المشاركات : 21
 الجنس : ذكر
 مستوى التقييم : yusuf is on a distinguished road
النقاط : 0

شكراً: 1
تم شكره 0 مرة في 0 مشاركة
افتراضي


هذي بعض الاجابات واترك لكم الباقي تشغلو عقولكم شويا


ترا المادة حلوة وشيقة وسهلة للي يقرا


1- Explain any three important instruction set design issues.

المطلوب 3 وهذي5
An instruction set, or instruction set architecture (ISA), isthe part of the computer architecture related to programming,

data types, instructions, registers, addressing modes,memory architecture,

1)

A data type (or datatype) In programming, a classificationidentifying one of various types of data, as floating-point,integer, or Boolean, stating the possible values for that type, theoperations that can be done on that type, and the way the values ofthat type are stored

2)

In computer science, an instruction is a single operation of aprocessor defined by an instruction set architecture. In a broadersense, an "instruction" may be any representation of an element ofan executable program, such as a bytecode.

3)

In computer architecture, a processor register (or generalpurpose register) is a small amount of storage available on the CPUwhose contents can be accessed more quickly than storage availableelsewhere. Typically, this specialized storage is not consideredpart of the normal memory range for the machine. Most, but not all,modern computers adopt the so-called load-store architecture.

4)

Addressing modes are an aspect of the instruction setarchitecture in most central processing unit (CPU) designs. Thevarious addressing modes that are defined in a given instructionset architecture define how machine language instructions in thatarchitecture identify the operand (or operands) of eachinstruction. An addressing mode specifies how to calculate theeffective memory address of an operand by using information held inregisters and/or constants contained within a machine instructionor elsewhere.

5)

In computing, a Memory model describes how threads interactthrough memory, or more generally specify what assumptions thecompiler is allowed to make when generating code for segmentedmemory or paged memory platforms.

6- What are the basic elements of a machine instruction?
Elements of a machine instructions includes operation code,source operand reference,result operand reference and next instruction.




7- Define the following:
a. Fetch – Execute Cycle
b. MAR – MDR
c. Status Register


a. Fetch – Execute Cycle

The fetch-execute cycle of the processor refers to the sequence that is completed for each instruction in a program.

Fetch Sequence

Move the value in the program counter to the memory address register
Send the value in the memory address register to memory via the address bus
Return the value stored in memory via the data bus
Store the value in the memory data register
Copy the instruction from the memory address register to the instruction register
Increment the program counter. The instruction in the instruction register is then Decoded

: Execute Sequence

The instruction is Executed

B) MDR AND MAR

MDR MEMORY DATA REGISTER IS is the register of a computer's control unit that contains the data to be stored in the computer storage (e.g. RAM), or the data after a fetch from the computer storage. It acts like a buffer and holds anything that is copied from the memory ready for the processor to use it.

The MDR is a two-way register. When data is fetched from memory and placed into the MDR, it is written to go in one direction. When there is a write instruction, the data to be written is placed into the MDR from another CPU register, which then puts the data into memory

MAR
In a computer, the Memory Address Register (MAR) is the CPU register that either stores the memory address from which data will be fetched to the CPU or the address to which data will be sent and stored.

In other words, MAR holds the memory location of data that needs to be accessed. When reading from memory, data addressed by MAR is fed into the MDR (memory data register) and then used by the CPU. When writing to memory, the CPU writes data from MDR to the memory location whose address is stored in MAR.

C) STATUS REGISTER

The status register is a hardware register that contains information about the state of the processor. Individual bits are implicitly or explicitly read and/or written by the machine code instructions executing on the processor. The status register lets an instruction take action contingent on the outcome of a previous instruction.








  رد مع اقتباس
قديم منذ /06-12-2016, 05:37 AM   #4

طالب جديد

روووودي غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 10505
 تاريخ الإنتساب : Jul 2014
 مقر الإقامة : المدينة المنورة
 فرع الجامعة : فرع المدينة المنورة
 التخصص : بكالوريوس تقنية معلومات
 المستوى : المستوى الثالث
 المشاركات : 22
 الجنس : أنثى
 مستوى التقييم : روووودي is on a distinguished road
النقاط : 0

شكراً: 0
تم شكره مرة واحدة في مشاركة واحدة
افتراضي


اقتباس:
المشاركة الأصلية كتبت بواسطة yusuf مشاهدة المشاركة
هذي بعض الاجابات واترك لكم الباقي تشغلو عقولكم شويا :d


ترا المادة حلوة وشيقة وسهلة للي يقرا :d


1- explain any three important instruction set design issues.

المطلوب 3 وهذي5
an instruction set, or instruction set architecture (isa), isthe part of the computer architecture related to programming,

data types, instructions, registers, addressing modes,memory architecture,

1)

a data type (or datatype) in programming, a classificationidentifying one of various types of data, as floating-point,integer, or boolean, stating the possible values for that type, theoperations that can be done on that type, and the way the values ofthat type are stored

2)

in computer science, an instruction is a single operation of aprocessor defined by an instruction set architecture. In a broadersense, an "instruction" may be any representation of an element ofan executable program, such as a bytecode.

3)

in computer architecture, a processor register (or generalpurpose register) is a small amount of storage available on the cpuwhose contents can be accessed more quickly than storage availableelsewhere. Typically, this specialized storage is not consideredpart of the normal memory range for the machine. Most, but not all,modern computers adopt the so-called load-store architecture.

4)

addressing modes are an aspect of the instruction setarchitecture in most central processing unit (cpu) designs. Thevarious addressing modes that are defined in a given instructionset architecture define how machine language instructions in thatarchitecture identify the operand (or operands) of eachinstruction. An addressing mode specifies how to calculate theeffective memory address of an operand by using information held inregisters and/or constants contained within a machine instructionor elsewhere.

5)

in computing, a memory model describes how threads interactthrough memory, or more generally specify what assumptions thecompiler is allowed to make when generating code for segmentedmemory or paged memory platforms.

6- what are the basic elements of a machine instruction?
elements of a machine instructions includes operation code,source operand reference,result operand reference and next instruction.




7- define the following:
a. Fetch – execute cycle
b. Mar – mdr
c. Status register


a. Fetch – execute cycle

the fetch-execute cycle of the processor refers to the sequence that is completed for each instruction in a program.

fetch sequence

move the value in the program counter to the memory address register
send the value in the memory address register to memory via the address bus
return the value stored in memory via the data bus
store the value in the memory data register
copy the instruction from the memory address register to the instruction register
increment the program counter. The instruction in the instruction register is then decoded

: Execute sequence

the instruction is executed

b) mdr and mar

mdr memory data register is is the register of a computer's control unit that contains the data to be stored in the computer storage (e.g. Ram), or the data after a fetch from the computer storage. It acts like a buffer and holds anything that is copied from the memory ready for the processor to use it.

the mdr is a two-way register. When data is fetched from memory and placed into the mdr, it is written to go in one direction. When there is a write instruction, the data to be written is placed into the mdr from another cpu register, which then puts the data into memory

mar
in a computer, the memory address register (mar) is the cpu register that either stores the memory address from which data will be fetched to the cpu or the address to which data will be sent and stored.

in other words, mar holds the memory location of data that needs to be accessed. When reading from memory, data addressed by mar is fed into the mdr (memory data register) and then used by the cpu. When writing to memory, the cpu writes data from mdr to the memory location whose address is stored in mar.

c) status register

the status register is a hardware register that contains information about the state of the processor. Individual bits are implicitly or explicitly read and/or written by the machine code instructions executing on the processor. The status register lets an instruction take action contingent on the outcome of a previous instruction.





شكرا جزاك الله خير وربي يوفقك







  رد مع اقتباس
قديم منذ /06-12-2016, 09:39 AM   #5

طالب نشيط

Ali.Jassim غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 16313
 تاريخ الإنتساب : Aug 2015
 مقر الإقامة : -AlQatif
 فرع الجامعة : فرع الدمام
 التخصص : بكالوريوس تقنية معلومات
 المستوى : المستوى السابع
 المشاركات : 194
 الجنس : ذكر
 مستوى التقييم : Ali.Jassim will become famous soon enough
النقاط : 32

شكراً: 11
تم شكره 21 مرة في 11 مشاركة
افتراضي


السلام عليكم
الاخت الفاضلة روووودي
دورت في الكتاب على أجاباتك ماشفت منها شيء ! من وين اخذتي هذه الاجابات ؟ الكتاب اسمه
IT110 - The Architecture of Computer Hardware, Systems Software, &
Networking An Information Technology Approach









التوقيع
اللهم صل على محمد وآل محمد
اللهم اجعلنا من العلماء الصالحين في الدنيا والاخرة

العلم يحرسك وأنت تحرس المال , العلم يزكو على الإنفاق والمال تنقصه النفقة العلم حاكم والمال محكوم عليه’ ومحبة العلم دين يدان بها , العلم يكسب العالم الطاعة في حياته
  رد مع اقتباس
قديم منذ /06-12-2016, 03:20 PM   #6

طالب جديد

روووودي غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 10505
 تاريخ الإنتساب : Jul 2014
 مقر الإقامة : المدينة المنورة
 فرع الجامعة : فرع المدينة المنورة
 التخصص : بكالوريوس تقنية معلومات
 المستوى : المستوى الثالث
 المشاركات : 22
 الجنس : أنثى
 مستوى التقييم : روووودي is on a distinguished road
النقاط : 0

شكراً: 0
تم شكره مرة واحدة في مشاركة واحدة
افتراضي


اقتباس:
المشاركة الأصلية كتبت بواسطة ali.jassim مشاهدة المشاركة
السلام عليكم
الاخت الفاضلة روووودي
دورت في الكتاب على أجاباتك ماشفت منها شيء ! من وين اخذتي هذه الاجابات ؟ الكتاب اسمه
it110 - the architecture of computer hardware, systems software, &
networking an information technology approach


مو انا يااختي الي حلو الاخ يوسف الي حلو







  رد مع اقتباس
قديم منذ /06-12-2016, 04:03 PM   #7

طالب جديد

67shool غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 24123
 تاريخ الإنتساب : Oct 2016
 المشاركات : 7
 الجنس : ذكر
 مستوى التقييم : 67shool is on a distinguished road
النقاط : 0

شكراً: 0
تم شكره 0 مرة في 0 مشاركة
افتراضي


اتمنى فيه احد يفيد السؤال الرابع .. يا رجل وجع راس








  رد مع اقتباس
قديم منذ /06-12-2016, 06:21 PM   #8

 
الصورة الرمزية yusuf
طالب جديد

yusuf غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 12844
 تاريخ الإنتساب : Dec 2014
 مقر الإقامة : المدينة المنورة
 فرع الجامعة : فرع المدينة المنورة
 التخصص : بكالوريوس تقنية معلومات
 المستوى : المستوى الثامن
 المشاركات : 21
 الجنس : ذكر
 مستوى التقييم : yusuf is on a distinguished road
النقاط : 0

شكراً: 1
تم شكره 0 مرة في 0 مشاركة
افتراضي


اقتباس:
المشاركة الأصلية كتبت بواسطة 67shool مشاهدة المشاركة
اتمنى فيه احد يفيد السؤال الرابع .. يا رجل وجع راس
اجتهاد مني .. تاكدو من الحل


4- How do you translate the high-level statement : C=A+B into instructions:
a- Using 3 addresses instructions format

ADD R1,A,B
MOVE C,R1


b- Using 2 addresses instructions format

LOAD R1,A
ADD R1,B
MOVE C,R1








  رد مع اقتباس
قديم منذ /07-12-2016, 11:31 AM   #9

طالب نشيط

Ali.Jassim غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 16313
 تاريخ الإنتساب : Aug 2015
 مقر الإقامة : -AlQatif
 فرع الجامعة : فرع الدمام
 التخصص : بكالوريوس تقنية معلومات
 المستوى : المستوى السابع
 المشاركات : 194
 الجنس : ذكر
 مستوى التقييم : Ali.Jassim will become famous soon enough
النقاط : 32

شكراً: 11
تم شكره 21 مرة في 11 مشاركة
افتراضي


اقتباس:
المشاركة الأصلية كتبت بواسطة yusuf مشاهدة المشاركة
اجتهاد مني .. تاكدو من الحل


4- How do you translate the high-level statement : C=A+B into instructions:
a- Using 3 addresses instructions format

ADD R1,A,B
MOVE C,R1


b- Using 2 addresses instructions format

LOAD R1,A
ADD R1,B
MOVE C,R1

اخوي يوسف .. من وين جبت الحل .. اعلاه.... الي تقول عنه الاخت الكريمه ..
لاني مالقيت بالكتاب شيء من الي انت كاتبه







التوقيع
اللهم صل على محمد وآل محمد
اللهم اجعلنا من العلماء الصالحين في الدنيا والاخرة

العلم يحرسك وأنت تحرس المال , العلم يزكو على الإنفاق والمال تنقصه النفقة العلم حاكم والمال محكوم عليه’ ومحبة العلم دين يدان بها , العلم يكسب العالم الطاعة في حياته
  رد مع اقتباس
قديم منذ /07-12-2016, 02:41 PM   #10

طالب جديد

خالدين غير متواجد حالياً

 

مواضيعي | ردودي

 رقم العضوية : 24125
 تاريخ الإنتساب : Oct 2016
 المشاركات : 5
 الجنس : ذكر
 مستوى التقييم : خالدين is on a distinguished road
النقاط : 0

شكراً: 0
تم شكره 0 مرة في 0 مشاركة
افتراضي


5- What is the benefit of pipe lining? And how it works? Pipelines architecture enhances the speed of executing the instructions that leads to get high speed processor. The pipeline is a set of data processing elements connected in series, where the output of one element is the input of the next one. The elements of a pipeline are often executed in parallel or in time-sliced fashion; in that case, some amount of buffer storage is often inserted between elements.








  رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة