Rcochran@ee
Member
I am wanting to take a word and say chop up the hex value ie. word b9:0 = DCA9
send the 9 - b10:0
then A-B10:1
then C-B10:2
then D-b10:3 I tried to MVM B9:0 to B9:1-4 then all to isolate the nibble value from all other values first. then I used a counter and set the presets for 4,8,12 for each off the A,C,D, then use a BSR for each using the dn bit to fire the shift register 1 bit at a time. but when it get to the bit 1 on any of the BSR's the last time it neve goes to zero and in the help file it says up to the next word boundary cant be used. i was trying to move them all to the first nibble the use the decode to turn on bit b12:0/9 if b10:0=9, then turn on bit b12:1/10 for "A" value of B10:1 and so on and so on i put the code in.
send the 9 - b10:0
then A-B10:1
then C-B10:2
then D-b10:3 I tried to MVM B9:0 to B9:1-4 then all to isolate the nibble value from all other values first. then I used a counter and set the presets for 4,8,12 for each off the A,C,D, then use a BSR for each using the dn bit to fire the shift register 1 bit at a time. but when it get to the bit 1 on any of the BSR's the last time it neve goes to zero and in the help file it says up to the next word boundary cant be used. i was trying to move them all to the first nibble the use the decode to turn on bit b12:0/9 if b10:0=9, then turn on bit b12:1/10 for "A" value of B10:1 and so on and so on i put the code in.