Ch 3 - Instructions-web - 2019.pdf - \u2502 Chapter 3\u2502 Assembly Programming 2 Bit and Conditional Branch Instructions(web Hui Xie 1 300044

Ch 3 - Instructions-web - 2019.pdf - │ Chapter 3│...

This preview shows page 1 - 10 out of 32 pages.

1 Hui Xie Assembly Programming 2: Bit and Conditional Branch Instructions (web) Chapter 3
Image of page 1
2 Hui Xie 300044 Microcontrollers Overview Logic instructions Bit - oriented instructions Bit - test and byte test instructions (for conditional branch) Shift/rotate instructions
Image of page 2
3 Hui Xie 300044 Microcontrollers 3.1. Logic Instructions Table 3-1: Arithmetic and logic operations in C Operator Description +, - (+) addition (-) subtraction ++, -- (++) increment (--) decrement *, / (*) multiplication (/) division >>, << (>>) right shift (<<) left shift &, | ^ (&) bitwise AND (|) bitwise OR (^) bitwise XOR ~ bitwise complement
Image of page 3