mov ax,3 ; Initial register values mov bx,5 ; or ax,9 ; ax <- ax | 00000010 (bitwise OR) and ax,10101010b ; ax <- ax & 10101010 (bitwise AND) xor ax,0FFh ; ax <- ax ^ 11111111 (bitwise XOR) neg ax ; ax <- (-ax) (2's complement) not ax ; ax <- (~ax) (bitise inversion) shl ax,1 ; logical shift left by 1 bit shr ax,1 ; logical shift right by 1 bit rol ax,1 ; rotate left (LSB=MSB) ror ax,1 ; rotate right (MSB=LSB) mov cl,3 ; Use CL to shift 3 bits shr ax,cl ; Divide AX by 8 shl bx,cl ; Multiply BX by 8