Upcoming SlideShare
×

# Status register

5,231 views

Published on

1 Like
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total views
5,231
On SlideShare
0
From Embeds
0
Number of Embeds
59
Actions
Shares
0
54
0
Likes
1
Embeds 0
No embeds

No notes for slide

### Status register

1. 1. Status register and Shift register Design<br />
2. 2. Status register<br />Relative magnitude of two numbers may be determined by subtracting one from the other.<br />Also called as flag bits or condition code bits<br />Status Bits<br />C – Carry<br />S – Sign bit<br />Z – zero bit<br />V – Overflow bit<br />
3. 3. Status register<br />
4. 4. Status register<br />C – Carry bit<br />Set if the output carry of ALU is 1<br />S – Sign bit<br />Set if the highest order bit is 1<br />Z – Zero bit<br />Set if the ALU’s output contains all zeros<br />V - Overflow bit<br />Set if there is any overflow. For a 8bit ALU, V is set if the result is greater than 127 and less than -128<br />
5. 5. (A-B) of unsigned numbers <br />A and B are unsigned numbers<br />
6. 6. SHIFTER<br />
7. 7. Shifter <br />