MICROCONTROLLER AND EMBEDDED SYSTEM SET-7

1. How many bytes are used by the following? DATA 1: DB "AMERICA"

  1. 8 BIT
  2. 8 BYTE
  3. 7 BYTE
  4. 7 BIT

2. The _____ directive is always used for ASCII strings.

  1. EQU
  2. END
  3. ORG
  4. DB

3. Which bits of the PSW register are user-definable?

  1. PSW 1 AND PSW 5
  2. PSW 2 AND PSW 4
  3. PSW 3 AND PSW 4
  4. NONE

4. Find the CY and AC flag bits for the following code. 

MOV A,#OFEH 

ADD A, #01 

  1. CY = 0, AY = 1
  2. CY = 0, AY = 0
  3. CY = 1, AY = 0
  4. CY = 1, AY = 1

5. Which register bank is used if we alter RS0 and RS1 of the PSW by the following two instructions?

SETB PSW. 3 

SETB PSW. 4 

  1. Register Bank 0 
  2. Register Bank 1 
  3. Register Bank 3
  4. Register Bank 2

 


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.