Question: Consider three 8 - bit numbers X , NUM 1 and NUM 2 are stored in internal data RAM locations 2 0 H , 2
Consider three bit numbers X NUM and NUM are stored in internal data RAM locations HH and H respectively.
Write an assembly language program to compute the following
if X is equal to ; then LSB of NUMAND LSB of NUM
if X is equal to ; then MSB of NUMOR MSB of NUM
if X is equal to ; then complement MSB of NUM
else do nothing store the bit results in RES, where RES is MSB of H locations.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
