SX/B Shift vs Rotate
pjv
Posts: 1,903
Terry;
I know this can be readily implemented with in-line assembler, but I wondered if it would be easy to add SX/B instructions for rotate left and right, perserving the state of the carry bit. It would·help us to write some math routines strictly in SX/B. Where this becomes a (small) issue is in bank switching·using in-line assembler; SX/B will not track the current default bank.
Again, not a big deal, but more elegant.
Cheers,
Peter (pjv)
·
I know this can be readily implemented with in-line assembler, but I wondered if it would be easy to add SX/B instructions for rotate left and right, perserving the state of the carry bit. It would·help us to write some math routines strictly in SX/B. Where this becomes a (small) issue is in bank switching·using in-line assembler; SX/B will not track the current default bank.
Again, not a big deal, but more elegant.
Cheers,
Peter (pjv)
·