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
u want to move or 3 and d separately from 0x3d?
It is a single word or value, and , i tink its either hex ie, 0x3 , or decimal, 03d, cant be both right,
3 can be copied but d is just a suffix indicating its decimal, thats all, Is it right?
0x3D(HEX ), or 0xAA, or 0x12, or 0xFF i think it's fine now
View all questions in Keil forum