Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assembly language Please solve 30 & 36 only Thank you MY DAT 1 DB Earth MY DAT 2 DB 987-65 MY DAT 3 DB GABEH
Assembly language
Please solve 30 & 36 only
Thank you
MY DAT 1 DB "Earth" MY DAT 2 DB 987-65 MY DAT 3 DB GABEH 98 30. Compile and state the contents of each ROM location for the following data ORG 340H DAT 1 DB 22, 56 H, 10011001B, 32, 0F6 H, 11111011B SECTION 2.6: 8051 FLAG BITS AND THE PSW REGISTER 31. The PSW is a(n) -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. C CY 0 CPL C 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, #0 FFH ADD A, #05 ADD A, #0C4H 8. Write a simple program in which the value 55H is added 5 times. 8051 ASSEMBLY LANGUAGE PROGRAMMING 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started