Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

68HC11 serial read register rotate

I've been unable to find any info on how to rotate ACCA or ACCB and then insert a single bit into the appropriate end of it. Any suggestions?

/Mikael Jacobson

Comments

  • A DouglasA Douglas Member Posts: 1
    : I've been unable to find any info on how to rotate ACCA or ACCB and then insert a single bit into the appropriate end of it. Any suggestions?
    :
    : /Mikael Jacobson
    :

    ROLA - rotates the AccA left.
    ROLB - rotates the AccB left.
    RORA - rotates the AccA right.
    RORB - rotates the AccB right.

    For the ROL mnemonics, b7 goes into carry and carry goes into b0. For the ROR mnemonics, carry goes into b7 and b0 goes into b0.

    If you want anymore info just ask, as I'm getting this from the Motorola Reference Manual

    Ashley Douglas

Sign In or Register to comment.