Page 143 - DCAP210_INTRODUCTION__TO_MICROPROCESSORS
P. 143
Gurwinder Kaur, Lovely Professional University Unit 10: Programming Techniques with Additional Instructions
Unit 10: Programming Techniques with Notes
Additional Instructions
CONTENTS
Objectives
Introduction
10.1 Looping, Counting and Indexing
10.1.1 Continuous Loop
10.1.2 Conditional Loop
10.2 Additional Data Transfer Instructions
10.2.1 16-bit Data Transfer to Registers Pairs
10.2.2 Data Transfer between Memory and Microprocessor
10.3 Additional Arithmetic Operations
10.3.1 Related to Memory
10.3.2 Related to 16-bits (Register Pairs)
10.4 Advanced Logical Operations
10.4.1 Rotate
10.4.2 Compare
10.5 Summary
10.6 Keywords
10.7 Self-Assessment Questions
10.8 Review Questions
10.9 Further Reading
Objectives
After studying this unit, you will able to understand the following:
• Discuss about the looping, counting and indexing
• Explain about the additional data transfer instruction
• Explain about the additional arithmetic operations
• Explain about the additional logical operations
Introduction
In this unit, we are going to study how to implement programming techniques and some
programming examples using them. Before going to implement these techniques, we get
conversant with these techniques and understand the use of them.
LOVELY PROFESSIONAL UNIVERSITY 137