Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1179 / 1333
Write an assembly program that calculates the mean of a signed integer array. Us
Write an assembly program that calculates the mean of a signed integer array. Use post-index memory address mode to access the array. Convert assembly to C language. Write an asse…
Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=
Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LO…
Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=
Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LO…
Write an assembly program that first allocates and initializes two 16-bit signed
Write an assembly program that first allocates and initializes two 16-bit signed numbers, A and B. This program will be responsible for passing data to the two subroutines SW_MUL …
Write an assembly program that generates the first n numbers of the Fibonacci se
Write an assembly program that generates the first n numbers of the Fibonacci series. In this series, the first two numbers are 0 and 1, and each subsequent number is generated by…
Write an assembly program that performs the following calculations that uses a s
Write an assembly program that performs the following calculations that uses a screeen menu that looks like: M - Calculate the actual miles per Gallon or MPG D - Calculate the max…
Write an assembly program that prints the elements of the following int array in
Write an assembly program that prints the elements of the following int array in the standard output 5,6,7,8,9,2,1,0,2,4,8,6,3,9,7 Suggested output on screen: All elements of the …
Write an assembly program that prompts the user for two numbers and prints the s
Write an assembly program that prompts the user for two numbers and prints the sum. Sample Screen Shot: Enter Number 1: 2 Enter Number 2: 3 The sum of 2 and 3 is 5 Submit the foll…
Write an assembly program that prompts the user to enter a string of up to 100 c
Write an assembly program that prompts the user to enter a string of up to 100 characters (your program should ensure the input is sane and re-prompt if necessary). As the charact…
Write an assembly program that reads in a number n and output Fn. Test your prog
Write an assembly program that reads in a number n and output Fn. Test your program on input 11 ( your answer should be 144) This is fabonacci rule .. This program has to be in Re…
Write an assembly program that reads two lists of floating point numbers A and B
Write an assembly program that reads two lists of floating point numbers A and B from users, and displays the measures given above on the simulator’s console. The program’s specif…
Write an assembly program that reads two lists of floating point numbers from ke
Write an assembly program that reads two lists of floating point numbers from keyboard and displays the mean and dot product given on the simulator%u2019s console. The input speci…
Write an assembly program that will create a word namely “number” and assign it
Write an assembly program that will create a word namely “number” and assign it a value of 0x000F. [Remember this value is stored in binary form in the computer] Your program shou…
Write an assembly program that will examine an input string. Assume that a strin
Write an assembly program that will examine an input string. Assume that a string does not include more than one line. Assume the input string is “Welcome to Assembly Programming …
Write an assembly program that will examine an input string. Assume that a strin
Write an assembly program that will examine an input string. Assume that a string does not include more than one line. Assume the input string is "Welcome to CPE325, home of the M…
Write an assembly program that will examine an input string. Assume that a strin
Write an assembly program that will examine an input string. Assume that a string does not include more than one line. Assume the input string is “Welcome to Assembly Programming …
Write an assembly program that will read in a person\'s name and then print it i
Write an assembly program that will read in a person's name and then print it in lastname, firstname [middle name] order. The notation [middle name] means zero or more middle name…
Write an assembly program that will read in a person\'s name and then print it i
Write an assembly program that will read in a person's name and then print it in lastname, firstname [middle name] order. The notation [middle name] means zero or more middle name…
Write an assembly program to allocate a block of 16 words in memory called SOURC
Write an assembly program to allocate a block of 16 words in memory called SOURCE_BLOCK, and initialize them with values 0000H, 1000H, 2000H, 3000H, 4000H, 5000H, 6000H, 7000H, 80…
Write an assembly program to count the number of bits that are set to 1 in a DWO
Write an assembly program to count the number of bits that are set to 1 in a DWORD initialized as follows: countBits PROTO, param1:DWORD, param2:DWORD .data X DWORD 17089 count DW…
Write an assembly program to find the largest element by searching an array int
Write an assembly program to find the largest element by searching an array int array 10, 5,-1, 0, 12, 18, 11, -13,40; int index-0; int max- arrayI0; int arraysize = sizeof array …
Write an assembly program to find the largest element by searching an array int
Write an assembly program to find the largest element by searching an array int ary[] = {1, 5, -3, -4, 0, 6, 11, 9, 18} int index = 0; int max ary[0]; int arraySize = sizeof array…
Write an assembly program to find the largest element by searching an array int
Write an assembly program to find the largest element by searching an array int ary[] = {11, 15, -3, -4, 0, 60, 11, -9, 18} int index = 0: int max = ary[0]: int arraySize = sizeof…
Write an assembly program to find the largest element by searching an array. Use
Write an assembly program to find the largest element by searching an array. Use cmp instruction and the appropriate jump instruction (signed or unsigned) to translate the if and …
Write an assembly program to implement the following. while X > 0 if X != 3 AND
Write an assembly program to implement the following. while X > 0 if X != 3 AND (X < A OR X > B) X = X – 2 else X = X – 1 end while Use short-circuit evaluation Assume th…
Write an assembly program to multiply two 31 bit binary numbers (A & B), using t
Write an assembly program to multiply two 31 bit binary numbers (A & B), using the “shift and add” algorithm, which historically is used in computers. The numbers A and B are …
Write an assembly program to multiply two 31 bit binary numbers (A & B), using t
Write an assembly program to multiply two 31 bit binary numbers (A & B), using the “shift and add” algorithm, which historically is used in computers. The numbers A and B are …
Write an assembly program to multiply two decimal numbers and print the output o
Write an assembly program to multiply two decimal numbers and print the output on the standard output as “The product is <product result>”. Use Easy86k to write the program …
Write an assembly program to multiply two decimal numbers and print the output o
Write an assembly program to multiply two decimal numbers and print the output on the standard output as “The product is <product result>”. Use Easy86k to write the program …
Write an assembly program to test if the MSB in the register a1 is set: If it is
Write an assembly program to test if the MSB in the register a1 is set: If it is set, then divide the content of a1 by 4 using the appropriate shift instruction and exit. Else, if…
Write an assembly program to translate an input number to its binary represen- t
Write an assembly program to translate an input number to its binary represen- tation. Your program should repeatedly prompts the user for an input and display the input in binary…
Write an assembly program to use the floating point unit to compute pi. Let the
Write an assembly program to use the floating point unit to compute pi. Let the user input the number of terms used for computing pi. For example, the number of terms is 4 in the …
Write an assembly program using MARIE to receive an input in decimal that repres
Write an assembly program using MARIE to receive an input in decimal that represents the number of numbers in a list. Then input a list of numbers one by one and store each number…
Write an assembly program using Pep/9 simulator to print your first name in one
Write an assembly program using Pep/9 simulator to print your first name in one line and last name in second line. Write an assembly program using Pep/9 simulator to receive two i…
Write an assembly program which stores 0 times 30 in all memory locations betwee
Write an assembly program which stores 0 times 30 in all memory locations between memory addresses AO and A1, including AO and A1. A1 is greater than AO. Assume A1 is 0x0000.2020 …
Write an assembly program which uses a loop to increment a counter from 1 to 10
Write an assembly program which uses a loop to increment a counter from 1 to 10 and print the count as it runs. Choose any of the loop styles. The code should run here: ; file: as…
Write an assembly program within a file named compare. asm that takes two single
Write an assembly program within a file named compare. asm that takes two single-digit decimal numbers from the user, and compares them to identify whether they equal to each othe…
Write an assembly subroutine that checks whether a given integer is a palindrome
Write an assembly subroutine that checks whether a given integer is a palindrome number. For example 9 11, 1234321, 141, 1221, and 120021 are palindrome numbers. Write a C program…
Write an assembly-language program to reverse the bits in a byte. Your program s
Write an assembly-language program to reverse the bits in a byte. Your program should start by putting a known bit pattern into the low-order byte of DO, then reverse it, and then…
Write an assessment in which you address the following problems/questions: Evalu
Write an assessment in which you address the following problems/questions: Evaluate the leverage implications of debt financing choices. You should include in your discussion the …
Write an atm program and the associated Makefile, which is an ATM simulated: The
Write an atm program and the associated Makefile, which is an ATM simulated: The desired amount is read from the standard input. The maximum payout amount is 2000 EUR, there are a…
Write an attribute grammar that has its BNF basis as the following grammar: -> =
Write an attribute grammar that has its BNF basis as the following grammar: -> = -> + | -> A | B | C Note that the tokens in the grammar are highlighted in bold. You need…
Write an audit memo that explains how quality control for an audit engagement wi
Write an audit memo that explains how quality control for an audit engagement will affect your audit of Starbucks using the following standards Au 220 (independence) and Auditing …
Write an awk command that will take a file named list.txt and only print the odd
Write an awk command that will take a file named list.txt and only print the odd numbered lines. (Do not put the awk code in a separate file, do it from the command line). a. awk …
Write an awk program that works as below. a) It takes the name of a data file as
Write an awk program that works as below. a) It takes the name of a data file as parameter. The file is the output of the command ls -1 | tail -n +2 >lsfile Here is a sample co…
Write an awk script called facts that a.Prints full names and phone numbers for
Write an awk script called facts that a.Prints full names and phone numbers for the Savages. b.Prints Chet's contributions. c.Prints all those who contributed $250 the first month…
Write an awk script named extract.awk to extract a portion of the input file(s)
Write an awk script named extract.awk to extract a portion of the input file(s) as follows. Somewhere after a line containing exactly the text "START FROM HERE", find the first li…
Write an efficient algorithm for solving the make-change problem below, this tim
Write an efficient algorithm for solving the make-change problem below, this time returning a fewest set of coins that makes change for the given amount, using the given set of de…
Write an efficient algorithm that takes as input a pointer to the root of a bina
Write an efficient algorithm that takes as input a pointer to the root of a binary tree and returns the length of the longest embedded “list” in the tree. For this problem, we def…
Write an efficient algorithm to find the maximum sorted subsequence in an input
Write an efficient algorithm to find the maximum sorted subsequence in an input string. For instance, the maximum sorted subsequence in "zabacdefkabfhxy" is "abcdefkxy". The progr…