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
Use list recursion to dene the function mySum which takes as input an integer and a list of integers and returns the list obtained by adding every element of the list by the rst
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 a program to sort the file sequential order and store on magnetic tape and print sorted tape as the output of the program.
1. Write a program that reads a minimum of three command line arguments and displays the program's results. a. Command Line arguments: i. The first argument will be the program
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
Pascal program: Exactly what you need to do to generate your empirical data is specific to your individual assignment. However, some rules apply to all of you: 1. The gener
how to rewrite C++ program the DNAStrand class (DNA Project) to instead store the nucleotide sequence in a dynamically-allocated array?
Explain the Goto Statement - Computer Programming? The goto statement is employed to alter the normal sequence of program execution by transferring control to some other part o
Problem 6. Demonstrate how and when can you use the commands- vi, cat, chmod, grep, man, pwd, ps, kill, mkdir, rm demonstrating how and when the above 10 commands can be
Define Call by value - Computer Programming? Functions are raise by writing their name and an appropriate list of arguments within parenthesis. Usually these arguments are in t
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