Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Question 1:
a) Assume that B is an array of 50 words; write a code which will place the smallest integer of array B in register AX.
b) Write a small code (only three instructions) to multiply the content of BX by 9 without using mul or imul instructions. Assume unsigned words.
c) Translate and optimize the following expressions into assembly language.
i. IF (A>X AND A<3) THEN A=A/Y (assume variables are signed words)
ii. IF ((X!=10) OR (Y>6 AND Z<15)) THEN Z=Y ELSE Z=X
Question 2:
a) Write a complete program using floating-point operations in Reverse Polish Notation to calculate and display the surface area of a cylinder. The formula is
A sample run would look like:- Enter radius: 6.5 Enter height: 10.5 Surface area of the cylinder: 694.291
For the following Code answer the following questions-: .STACK 100H .DATA COUNT DB 10 TOTAL DW 4126H .CODE MAIN PROC MOV BX, 3F20H MOV AL, BL MOV BL, COUNT MOV
Question : (a) Many systems provide support for both user threads and kernel threads, resulting in different multithreading models. What are the two differences between user
System.in and System.out should not be used anywhere in the programs except in main and only for testing purposes. All calculations should be done in a method. Note: To use J
Short Arrays: Array = randi(10,1,randi(6,1,1)+4)-5 This command will generate an array which you should be able to evaluate by hand (and also have your code evaluate for te
A specification of a function TOARR is given below. function TOARR(n in Int, s in Stack of Int) return in Array of Int pre n ≥ 0. post The returned value is an array of size
write and compile a simple program in Assembly Language that compute and print student grades for a course.which you can open a file, read from it, and compute the results...using
Question 1- In engineering applications it is often necessary to fit a straight line to a set of N points with known coordinates (xi, yi), where i indexes the points (N in total).
Lennie McPherson, proprietor of Lennie''s Bail Bonds, needs to calculate the amount due for setting the bail. Lennie requires something of value as collateral, and his fee is 10%
Villa La Fourche Ltd is a small family business situated in the East Coast of Mauritius, more precisely Trou d'eau Douce. The compound comprises of 6 independent villas, each of
I can attach or send the assignment instructions, but they''re rather long. 90% of the code is already written and given to us. The assignment is primarily rewriting and rearrangin
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd