hello there i have some problem regarding the bit shifting i want to convert the some no. from Hex. to Decimal for that i am going to used the shifting. when i recived the no. in hex format then i want to other reg. ex.when i recive 0x3d then i want to move the 3 to other location(or reg) after doing some calculation now i want move the d.with ACC >>(shifting opration is fine but in which way )please help me
sorry for above 2 post here you will get the clear view.
D_1 = nibble1 *16^0 D_2 = nibble2 *16^1 D_3 = nibble3 *16^2 D_4 = nibble4 *16^3
dec_ans = D_1 + D_2 + D_3 D_4