Write an Intel 8085 assembly program to find the largest of N
numbers stored in memory using the algorithm below. Hand trace
(execute) the program showing the changes made to all affected
registers and memory locations.
Max = a(1)
For i = n to N
If max < a(i) then max = a(i)
Next i
IN MIPS ASSEMBLY LANGUAGE
Write an assembly program to read three 32-bit signed integers
from the user. Determine the smallest of these three numbers and
display this result. Don’t use loops. Prompt the
user for each entered integer.
Your output should look something like the following
example.
Enter an integer: 7556
Enter an integer: -22984
Enter an integer: 8875
-22984
Write a MIPS assembly language program to read an arbitrary
number of integer pairs from a file. Each pair will then be
multiplied together with the results being accumulated (added
together) forming a sum-of-products operation.
Submit your report and code here.
HCS12 Assembly Language:
1. Write a program to convert a decimal number
stored at memory location $1010 into a binary number. Store the
result in memory location $2000
Write a MARIE assembly language program that will read an
“array” of positive decimal values stored in memory and output the
smallest value. Use variable addr to store the location of the
first data item. Use variable length to store the number of items
in your array.
Your code should be organized such that adding an additional
array item would only involve adding the data line (ie. 021 dec
400) and updating the length variable (ie. length, dec 5). You...
Q1:
A. WRITE AN
ASSEMBLY LANGUAGE PROGRAM TO EXCHANGE 16-BIT NUMBERS
B. WRITE AN
ASSEMBLY LANGUAGE PROGRAM TO SOLVE THE EQUATION
Z=A+B-(C/D)+E
please write
the answer separately part A its own code and part B its own code
this is microprocessor the ASSEMBLY LANGUAGE emu8086 should be
written like this EX:
mov ax,100h
mov bx,200h
etc
Write a MIPS Assembly Language program to perform the following
operations:
Request and read two integers from the console (Dn and
Up),
Call a recursive function to compute the result
int RecurseFunc( int Dn, int Up )
{
if( Dn < 1 ) return 0;
return Dn * Up + RecurseFunc( Dn - 1, Up + 1 );
}
Print out the results
Write a MIPS Assembly Language program to perform the following
operations:
Request and read two integers from the console (Dn and Up),
Call a recursive function to compute the result
int RecurseFunc( int Dn, int Up )
{
if( Dn < 1 ) return 0;
else return Dn * Up + RecurseFunc( Dn - 1, Up + 1 );
}
Print out the results
Submit your code and report here.
Write a MIPS Assembly Language program to perform the following
operations:
Request and read two integers from the console (Dn and
Up),
Call a recursive function to compute the result
int RecurseFunc( int Dn, int Up )
{
if( Dn < 1 ) return 0;
return Dn * Up + RecurseFunc( Dn - 1, Up + 1 );
}
Print out the results
arms64 assembly language
Write a function to read a Sudoku board from an input
string.
The input string must be exactly 81 characters long (plus
the
terminating null that marks the end of the string) and
contains
digits and dots (the `.` character represents an unmarked
position).
The input contains all 9 rows packed together. For example, a
Sudoku
board that looks like this:
```
..7 ... ...
6.4 ... ..3
... .54 ..2
... .4. ...
9.. ... ..5...