This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bit shifting

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

Parents
  • 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?

Reply
  • 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?

Children