Program status word(PSW)

Description

Note 1
Deepali Barapatr
Note by Deepali Barapatr, updated more than 1 year ago
Deepali Barapatr
Created by Deepali Barapatr over 9 years ago
56
0
1 2 3 4 5 (0)

Resource summary

Page 1

Flags: 1 bit registers provided to store the status of results of some instruction : It is a flip flop8051 has :-4 math flags: Carry(CY), Auxiliary carry(AC), Overflow(OV), Parity(P)-3 general purpose user flag:1) Carry flag (CY) - Set when there is a carry or borrow out of the MSB (D7) of the result2)Auxiliary carry ( AC) -Set when there is a carry out from lower nibble to higher nibble or borrow from higher nibble to lower nibble3)Overflow flag(OV)-arithmetic overflow has occurred4)Parity flag(P)-the result has even parity (even no. of 1's)General purpose flags-can be set 1 or 0 as programmer desires-F0,GF0,GF! are the three general purpose flag-F0 is in PSW and GF0 and GF1 are in PCON register

Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

A-level French Vocabulary
daniel.praecox
Conceptos Generales De Robótica
fede ramos
Statistics Key Words
Culan O'Meara
Physics 1A - Energy
Zaki Rizvi
Marriage and Family Life - Edexcel GCSE Religious Studies Unit 3
nicolalennon12
PSBD TEST # 3_1
Suleman Shah
B1.1.1 Diet and Exercise Flash Cards
Tom.Snow
Contract Law
sherhui94
Romeo & Juliet Quotes
Lucy Hodgson
Psychopathology
Laura Louise