Question: 1.With an example, show the status flag of a microprocessor where minimum flag bits are activated. 2Write an assembly language program for adding three 8
1.With an example, show the status flag of a microprocessor where minimum flag bits are activated.
2Write an assembly language program for adding three 8 bits numbers, where the data is located on the memory DS location. Also, the following points should be added to the code: a) Addition must be reflected on the carry (each adding step). b) DS = 20PP H, where PP stands for your last two-digit student ID. c) Source index (SI) will be 17TT H where TT stands for the last two-digit student ID. d) Destination index (DI) address will be 2600 H
3. Consider two instructions (m and m+i) are executed in 4 stages pipelining process where the last instruction does not depend on the previous one. With an example, determine which hazard will be occurred and what would be the solutions.
4. Convert infix into the postfix notation using stack: ( + ) () + ( Z) / T+Q
5. based on the following equation, write the programs (in the stack, general registers, and single register), and compare them on the basis of memory access, and the number of instructions. = ( )// + ( )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
