السلام عليكم
ارجو من خبراء هذه اللغه مساعدتي في هذه المسائل.. انا مبتدأجدا فيها ولا ارى فيها متعه :wacko: .. لكني مجبور على اخذ هذا الللغه :angry:
اتمنى بان لا يتهمني البعض باني اطلب حل وظائفي.. بالعكس انا اريد ان افهم.. واريد الحل في نفس الوقت.. وليس من عادتي اللجوء لاحد الا اذا استفحلت علي المصيبه :( ..
السؤال الاول:
Write an 8085 Assembler code to perform the following function:
(B - C) XOR (C+D),
Where B=69, C=24 and D=13. We will start the program at the Address of 002FH.
الثاني:
Write a program that computes the difference between two numbers stored in B and C respectively. If the result (B - C) is negative, store it in the memory location with address: FF00H. If not, do nothing.
Use the values: B=17 and C=75.
الثالث
Write an 8085 Assembler program that does the following:
Given a list of integers stored in the memory between the locations: FF00H to FF04H inclusive, the program should only filter the even numbers from that list and store them in locations starting from FF10H. Try the program with the following values: 3,7,4,1,2. Copy the routine from Figure 1 into your program. The routine is responsible of loading the list of numbers into the memory