Hi Everyone,
I'm working on a self assigned homework project on a RSL5K and I'm stuck.
What I'm trying to do is move data from Dint_1 to Dint_2.
Dint_1 has a hex value of AAAA, and I want to move it to Dint_2 in a way that causes Dint_2 to have a hex value of FF. There is a real world reason behind all this, but it is mostly so I can be a little smarter tomorrow than I am today.
I have tried masked moves, bit field distribute, and sort file instructions, as well as going thorough the instruction help for all of the file sorting instructions.
Can this be done with a single ladder instruction, or will I have to mash the data around a bit before I get the result I'm looking for? Any and all hints would be greatly appreciated.
Thanks,
Bubba.
I'm working on a self assigned homework project on a RSL5K and I'm stuck.
What I'm trying to do is move data from Dint_1 to Dint_2.
Dint_1 has a hex value of AAAA, and I want to move it to Dint_2 in a way that causes Dint_2 to have a hex value of FF. There is a real world reason behind all this, but it is mostly so I can be a little smarter tomorrow than I am today.
I have tried masked moves, bit field distribute, and sort file instructions, as well as going thorough the instruction help for all of the file sorting instructions.
Can this be done with a single ladder instruction, or will I have to mash the data around a bit before I get the result I'm looking for? Any and all hints would be greatly appreciated.
Thanks,
Bubba.