News:

  • October 01, 2025, 02:01:58 AM

Login with username, password and session length

Author Topic: How to move a range of unaligned bits from MHR into C bits  (Read 4179 times)

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
How to move a range of unaligned bits from MHR into C bits
« on: June 01, 2016, 04:47:22 PM »
I got asked this question, and knew it could be done, just not sure how, but figured it out...

MOVER can move a range of unaligned bits (not on byte boundary and/or not a multiple of 8 bits).  So say you want to just move the lower 10 bits of MHR42 (MHR42:0 thru MHR42:9) and move those into a range of C bits starting at C99 (C99 thru C108).  Easy (see attached screen shot).


There are no comments for this topic. Do you want to be the first?