Quiz For 8051
Quiz For 8051
10) What are the contents of the flags after executing MOV A, #78H
ADD A, #6AH
a) CY = 0; AC = 1; P = 1; OV = 1
b) CY = 1; AC = 0; P = 1; OV = 1
c) CY = 0; AC = 1; P = 0; OV = 0
d) None of the above (CY = 0; AC = 1; P = 0; OV = 1)
12) The linker program takes one or more … files and produces an ……. file.
a) List; Object.
b) Object; List
c) List; Absolute object
d) Object; Absolute object
15) After executing the following code, the data is stored in…. org 50H
DATA1: DB 10H
a) RAM at address 50H
b) RAM at address 10H
c) ROM at address 50H
d) ROM at address 10H
16) How many bytes are used to store the following data
DATA2: DB "IT IS NO#3."
a) 9
b) 10
c) 11
d) None of the above.
18) Consider a TTL wave with a duty cycle 80%, its average volt is…..
a) 1V
b) 2.5V
c) 4V
d) None of the above.