Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Write the assembly instructions to implement items given below. / Aadaki maddeleri gerekletiren kod paralarn assembly ile yaznz. a) On the data segment create

image text in transcribed

2. Write the assembly instructions to implement items given below. / Aadaki maddeleri gerekletiren kod paralarn assembly ile yaznz. a) On the data segment create "number1" and "number2" variables in a byte size. Initialize the variables. / Veri belleinde "sayi1" ve "sayi2" isminde 1 baytlk iki deiken oluturunuz. Deikenlere bu alan ierisinde ilk deer atamas yapnz. b) Compute the sum, subtraction, multiplication, and division of the defined variables and load the values to the variables which you create on the data segment. / Tanmlanan iki deikenin toplamn, farkn, arpm ve blmn hesaplayarak veri belleinde tanmlayacanz deikenlere ykleyiniz. 3. Perform the operations below in sequence with defined on the data segment "Numbers" array. (Veri alannda tanml "SAYILAR" dizisi ile ilgili aadaki ilemleri srasyla gerekletiriniz.) - Find the sum of array and the average of array. (Dizinin toplamn ve ortalamasin bulunuz.) - Find the maximum and the minimum numbers of array. (Dizideki en byk ve en kk sayilari bulunuz.) - Find the amount of even numbers in the array. (Dizideki ift saylarn adetini bulunuz.) 4. In the "Number DB 21,42,5,17,8,9,51,12,32,3 " array, write the assembly code to find the amount of numbers which is greater than average of array. (Verilen "Sayi Db 21,42,5,17,8,9,51,12,32,3 " dizisi ierisinde, deeri dizinin ortalamasndan byk olan saylarn adetini bulan assembly kodunu yaznz.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Infrastructure For Medical Research In Databases

Authors: Thomas Heinis ,Anastasia Ailamaki

1st Edition

1680833480, 978-1680833485

More Books

Students also viewed these Databases questions

Question

How can program code be reused?

Answered: 1 week ago