attempt to fix no lowercase bug.
fix N flag calculation for shifts and rotates.