Department of Information and Communication Technology Course: ICT-3205: Computer Architecture and Microprocessor
Department of Information and Communication Technology Course: ICT-3205: Computer Architecture and Microprocessor
Department of Information and Communication Technology Course: ICT-3205: Computer Architecture and Microprocessor
Lecture 08
Arithmetic Operations
The 8085 microprocessor performs various arithmetic operations, such as addition, subtraction,
increment, and decrement. These arithmetic operations have the following mnemonics:
Page 4 of 14
Page 5 of 14
Page 6 of 14
Page 7 of 14
Page 8 of 14
Page 9 of 14
Page 10 of 14
In a hundred story building, most of the rooms are similar. If one knows the basic fundamentals of
constructing a room, one can learn how to tie these rooms together in a coherent structure. However,
planning and forethought are critical. Before beginning to build a structure, an architectural plan must be
drawn. Similarly, to write a program, one needs to draw up a plan of logical thoughts. A given task should
be broken down into small units that can be built independently. This is called the modular design
approach.
Step 3: Represent these small steps in a possible sequence with a flowchart – a plan of attack.
Step 4: Translate each block of the flowchart into appropriate mnemonic instructions.
Step 6: Enter the machine code in memory and execute. Only on rare occasions is a program successfully
executed on the first attempt.
Step 7: Start troubleshooting (Debugging a program).