You are required to calculate Physical Addresses for the following two combinations:
- BX+SI+0xFF00
- BP+DI+0xA000
Question 2 Marks 10
Assume the following Pseudo Code and convert it into proper assembly language instructions that should be assembled and debugged using NASM.
- Declare an array named as P_NUM of 5 elements that contains first five prime numbers.
- Set CX to 5 in decimal.
- Move the first element of P_NUM array to the AX.
- Move the fourth element of P_NUM array to the BX.
- Move last element from P_NUM array to the DX.
- Add the values of AX and BX and store the result in AX.
- Add the values of new AX and DX and store the result in BX.