
378
ADVANCED MICROCONTROLLERS
Table 26.6 ATmega8 bit and bit-test instructions
Mnemonics Description Mnemonics Description
SBI Set bit in I/O register SEN Set negative fl ag
CBI Clear bit in I/O register CLN Clear negative fl ag
LSL Logical shift left SEZ Set zero fl ag
LSR Logical shift right CLZ Clear zero fl ag
ROL Rotate left through Carry SEI Global interrupt enable
ROR Rotate right through Carry CLI Global interrupt disable
ASR Arithmetic shift right SES Set signed test fl ag
SWAP Swap nibbles CLS Clear signed test fl ag
BSET Flag set SEV Set two’s complement overfl ow
BCLR Flag clear CLV Clear two’s complement overfl ow
BST Bit store from register to T