Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Computer Engineering by Richard E. Haskell Logical Instructions Module M16.6 Section 10.5.

Similar presentations


Presentation on theme: "Introduction to Computer Engineering by Richard E. Haskell Logical Instructions Module M16.6 Section 10.5."— Presentation transcript:

1 Introduction to Computer Engineering by Richard E. Haskell Logical Instructions Module M16.6 Section 10.5

2 Introduction to Computer Engineering by Richard E. Haskell Basic Logical Instructions

3 Introduction to Computer Engineering by Richard E. Haskell AND 0000 B0 5A MOV AL,5AH 0002 24 F0 AND AL,0F0H 5AH = 01011010 F0H = 11110000 AND 01010000 = 50H

4 Introduction to Computer Engineering by Richard E. Haskell OR 0000 B0 13 MOV AL,13H 0002 0C 80 OR AL,80H 13H = 00010011 80H = 10000000 OR 10010011 = 93H

5 Introduction to Computer Engineering by Richard E. Haskell XOR 0000 B0 55 MOV AL,55H 0002 34 FF XOR AL,0FFH 55H = 01010101 FFH = 11111111 XOR 10101010 = AAH Note: Same as NOT AL


Download ppt "Introduction to Computer Engineering by Richard E. Haskell Logical Instructions Module M16.6 Section 10.5."

Similar presentations


Ads by Google