Program Status Word by Komal Mehna

Share this on :

In this Video, Komal Mehna, Assistant Professor, Biyani Group of Colleges explains about the program status word (PSW) register that is an 8-bit register. It is also known as the flag register. In PSW register only 6 bits are used by the 8051 microcontroller and remaining two bits are user-defined bit. Out of six flags four of the flags are called conditional flags, which indicate some conditions after an instruction is executed. These four flags are :-
a) CY (carry), b) AC (auxiliary carry), c) P (parity), d) OV (overflow).
And RS0 and RS1 are used for register selection.

Share this on :