Write an assembly program that demonstrates multiplication operation, and upload your code (*.asm file)
CODE
DATA SEGMENT NUM1 DB ? NUM2 DB ? RESULT DB ? MSG1 DB 10,13,"FIRST NUMBER TO MULTIPLY? : $" MSG2 DB 10,13,"SECOND NUMBER TO MULTIPLY? : $" MSG3 DB 10,13,"MULTIPLICATION RESULT IS : $" ENDS CODE SEGMENT ASSUME DS:DATA CS:CODE START: MOV AX,DATA MOV DS,AX LEA DX,MSG1 MOV AH,9 INT 21H MOV AH,1 INT 21H SUB AL,30H MOV NUM1,AL LEA DX,MSG2 MOV AH,9 INT 21H MOV AH,1 INT 21H SUB AL,30H MOV NUM2,AL MUL NUM1 MOV RESULT,AL AAM ADD AH,30H ADD AL,30H MOV BX,AX LEA DX,MSG3 MOV AH,9 INT 21H MOV AH,2 MOV DL,BH INT 21H MOV AH,2 MOV DL,BL INT 21H MOV AH,4CH INT 21H ENDS END START
Write an assembly program that demonstrates multiplication operation, and upload your code (*.asm file)
Summation of a series is given by the equation . Write an ARMv8 assembly program to compute and store y. The input a is in X19 and the input is 64- bits, non-zero positive integer less than 10. Store the result y in X20. Assemble, test, and simulate the assembly code using DS-5 simulator. Do not upload the entire DS-5 project. Only upload the assembly file (.S file) from the DS-5 project to Canvas. Comment your assembly code u+ =...
1. (20pts) Write the MATLAB program to find the multiplication of [B][A] MATLAB's matrix operation capabilities.. .you must code the individual steps. [4 51 =. Do not use 3 71 4 1 2,and [B] = 1 2 6 [A] = 0 4 15 2 6.
1. (20pts) Write the MATLAB program to find the multiplication of [B][A] MATLAB's matrix operation capabilities.. .you must code the individual steps. [4 51 =. Do not use 3 71 4 1 2,and [B] =...
Please write this in C.
Write this code in Visual Studio and upload your Source.cpp file for checking (1) Write a program to prompt the user for an output file name and 2 input file names. The program should check for errors in opening the files, and print the name of any file which has an error, and exit if an error occurs opening any of the 3 For example, (user input shown in caps in first line) Enter first...
Please the write code using Matlab
8. Write your own code to perform matrix multiplication. Recall that to multiply two matrices, the inner dimensions must be Every element in the resulting C matrix is obtained by: Your code must be a function file and it must check to see if matrix multiplication can be performed on the provided matrices. Test your code with the following matrices: 4 4 2 9 -3 A2 17
in c code please
10 Question 6 The following program should print out the multiplication tables in reverse, but it is not working correctly. Fix the program so that it prints a times table of digits 1 to 9 (inclusivel. int main() for (int 1-1 ; ) for (int j = "; 1 ; I--) printf("220", 11) > return; Upload Choose a File
PLEASE UPLOAD or Write a simple PSEUDO CODE AND JAVA CODE for this program WITH COMMENTS IN BOTH TELLING WHAT EACH PART DOES. (I NEED BOTH CODES NOT JUST ONE OR THE OTHER) Problem Statement A golf club has a small tournament consisting of five golfers every weekend. The club president has asked you to design a program that does the following: Reads player’s names and their scores from the keyboard for each of the five golfers and simulates writing...
In
PEP8 code.
assembly pep8 code.
30. Write an assembly language program that corresponds to the following C+ program #include <iostream> using namespace std; int num; int main() cin >> num: num = num/ 16; cout << "num = " << num << endl; return 0; 21 de
I need the following done in MASM (Assmebly or ASM) This program must use Irvine Library and the outline for the code is below (Kip irvine) Write an assembly language program to input a string from the user. Your program should do these two things: 1. count and display the number of words in the user input string. 2. Flip the case of each character from upper to lower or lower to upper. For example if the user types in: ...
In
VS if you can please!!
Multiplication write a program that executes the multiplication of two numbers entered by the user using only the addition operation. For example, if the user enters 3 and 4, the program computes the multiplication of these numbers by adding the number 4 three times (i.e., 3 * 4 = 4 + 4 + 4). Solve this problem in the most efficient way.
Linux & Unix Write a bash program to indent the code in a bash source file. Conditions: The source file will contain only printing characters, spaces, and newlines. It is not necessary to check for invalid input. The source file will not contain comments (words beginning with #). Requirements: Read from standard input, write to standard output. Code inside while statements should be indented 2 spaces. Be sure your program includes all of the following: ...