Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

36,37,38 SECTION 2.6: 8051 FLAG BITS AND THE PSW REGISTER 31. The PSW is an) -bit register 32. Which bits of PSW are used for

36,37,38 image text in transcribed
SECTION 2.6: 8051 FLAG BITS AND THE PSW REGISTER 31. The PSW is an) -bit register 32. Which bits of PSW are used for the CY and AC flag bits, respectively? 33. Which bits of PSW are used for the OV and P flag bits, respectively? 34. In the ADD instruction, when is CY raised? 35. In the ADD instruction, when is AC raised? 36. What is the value of the CY flag after the following code? CLR CY 0 CPL ; complement carry 37. Find the CY flag value after each of the following codes. (a) MOV A, #54H (b) MOV A, #00 (c) MOV A, #250 ADD A, #0C4H ADD A, #OFFH ADD A, #05 38. Write a simple program in which the value 55H is added 5 times. @ C

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions