MICROPROCESSOR AND MICROCONTROLLER

INTRODUCTION TO MICROPEOCESSOR

MODEL OF MICROPROCESSOR

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The term PSW Program Status word refers
A
Accumulator and Flag Register
B
Stack and Program Counter
C
Accumulator and Stack
D
Stack and Memory pointer
Explanation: 

Detailed explanation-1: -In 8085 microprocessors, PSW stands for Program Status word. it is a 16-bit word, a combination of contents of the 8-bit flag register and the contents of an 8-bit Accumulator register.

Detailed explanation-2: -The PSW (program status word) indicates your system’s general status. There are six different types of system PSWs that provide diagnostic information. Each one has an old and new value. The PSWs are as follows: Restart.

Detailed explanation-3: -PSW.7. Carry flag. The carry flag has two functions. Firstly, it is used as the carry-out in 8-bit addition/subtraction. For example, if the accumulator contains FDH and we add 3 to the contents of the accumulator (ADD A, #3), the accumulator will then contain zero and the carry flag will be set.

Detailed explanation-4: -PSW (program status word) register The two unused bits are user-definable flags. Four of the flags are called conditional flags, meaning that they indicate some conditions that result after an instruction is executed. These four are CY (carry), AC (auxiliary carry), P (parity), and OV (overflow).

There is 1 question to complete.