How would decimal number in hexadecimal format using thefollowing assembly language instruction
Memory Reference Instructions (MRI)
Direct Addressing: opcode operand e.g., ADDnum
Memory word at location ‘num’ is added to accumulatorAC. I.e., AC = AC + M[num];
Here, effective address of the operand is ‘num’
Indirect Addressing: opcode operand I e.g., ADD numI
Memory word of memory word at location ‘num’ is addedto AC. I.e., AC = AC + M[M[num]]
Here, effective address of the operand is M[num].
MRI Instructions: (In the following, ‘eee’ denotes effectiveaddress.)
AND xxx AND xxx I
Logical AND of effective memory word to AC.
I.e., AC = AC and M[eee];
ADD xxx
OR
OR