Write a NEAR subroutine using 8086 assembly Language (with proper comments) that returns the smallest byte value in a byte array of length 5-bytes. The array is declared in the calling program and the base address of the array is passed to the subroutine in the stack. You should write both the calling program and subroutine.
Write a program using 8086 assembly Language (with proper comments) that accepts a two-digit input from the keyboard, converts it into an equivalent binary number and subtracts this value from every element of an array of length ten bytes. Assume that the array is stored in the memory. Make suitable assumptions, if any.
Write an assembly for the intel-64 program that prints a character with code 0x2d by calling a subprogram.
You have designed an instruction set architecture (ISA), whose characteristics are;
• 16 diff operations (ADD, SUB, OUT, HLT etc.)
• 12-bit address (program counter (PC), a memory address register (MAR) etc.)
• 16-bit data registers (accumulators, B, Temp etc.)
• 16-bit instruction register (IR)
1) What will be the instruction size?
2) Opcode size?
3) Operand size?
4)A number of locations in memory?
5) Memory data size?
Write a program that take an Alphabet C (C can be uppercase or lowercase) as input and print all the character between C (input character) to uppercase Z if C is uppercase or to lowercase z if C is lowercase. NB: Implement the above problem inside Separate Procedure.
Write a program that takes two 2-D matrixes A and B. Add value of the matrixes and store it in different matrix called C. NB: Implement the above problem inside Main Procedure.
Write a assembly program that takes two 2-D matrixes A and B. Add value of the matrixes and store it in different matrix called C. NB: Implement the above problem inside Main Procedure.