عرض كامل الموضوع : اختكم تطلب مساعده في الاسمبلي الله يجزاكم الف خير اليوم ضروروي

30-03-2007, 11:55 AM
بسم الله الرحمن الرحيم
السلام عليكم ورحمه الله وبركاته
اخواني............... انا مبتدئه جدا جدا في الاسمبلي ((يمكن درست الى الان 4 محاضرات بس))

عندي اسئله تمكنت اح عبضها وفهمتها بنفسي وبعضها لا ... :(
ممكن احد ياسعدني في حلها
الله يجزاكم الف خير ساعدوني وشكر مقدم للي بيساعدني او حتى يرد باي شي
والسؤالين هم

Q1. Two women are on either side of a high fence. One of the women named Apple – server, has a beautiful apple tree loaded with delicious apples growing on her side of the fence; she is happy to supply apples to the other woman whenever needed. The other woman, named Apple – eater, loves to eat apples but has none. In fact, eat apples at a fixed rate. Neither woman can talk, and so the problem is to get apples from Apple – server to Apple – eater at the correct rate.

a. Assume that Apple – eater has a flag that she can wave whenever she needs an apple. Suggest a solution. Would it be helpful for Apple – server also have a flag? If so, incorporate this into the solution.
Discuss drawback of this approach.
b. Now, take away the flag and assume the existence of a long piece of string. Suggest a solution that is superior to that of (a) using the string.

والسؤال الثــــــــــــــــــــــــــــاني

Q2. Consider a computer system that contains an I/O module controlling a simple keyboard/ printer teletype. The following registers are contained in the processor and connected directly to the system bus:

INPR: Input Register, 8 bits AC <----- INPR
OUTR: Output Register, 8 bits OUTR <----- AC
FGI: Input Flag, 1 bit
FGO: Output Flag, 1 bit
IEN: Interrupt Enable, 1 bit

Keystroke input from the teletype and printer output to the teletype are controlled by the I/O module. The teletype is able to encode an alphanumeric symbol to an 8-bit word and decode an 8-bit word into an alphanumeric symbol.

a. Describe how the processor, using the first four registers listed in this problem, can achieve I/O with the teletype.
b. Describe how the function can be performed more efficiently by also employing IEN

15-04-2007, 01:30 AM
وين بيانات المكدسstack اختى
وهل هذا اعتمادا على debug

احمد الغايش
20-07-2009, 03:31 PM
اختى انا والله مو فاهم شى لو كنت اعرف شى كنت ساعدتك والله يعطيكى العافيه