Shop OBEX P1 Docs P2 Docs Learn Events
SX/B Shift vs Rotate — Parallax Forums

SX/B Shift vs Rotate

pjvpjv Posts: 1,903
edited 2009-06-18 04:13 in General Discussion
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)
·
Sign In or Register to comment.