28. Which among the below
mentioned sequence of program
instructions represent the correct
chronological order for the
generation of 2kHz square wave
frequency? 1. SETB TRO 2. MOV TLO,
# 06H 3. MOV THO, # 06H4. MOV
TMOD, 0000 0010 B5. CPL P1.06.
CLR P1.07. LOOP JNB TFO LOOP *
Answers
Prepare
Practice
Programming Confined to Timer Modes - MCQs with Answers
Topics >>Electronics and Communication Engineering >>Microcontrollers & Applications - 8051 Architecture -06/12/15
« PreviousNext »
Programming Confined to Timer Modes - MCQs with Answers
Q1. Consider the below generated program segment for initializing Timer 1 in Mode 1 operation :
MOV SP, # 54 H
MOV TMOD ,# 0010 0000 C
SET C ET1
SETC TR0
SJMP $
Which among the below mentioned program segments represent the correct code ?
a. MOV SP, # 54 H
MOV TCON ,# 0010 0000 C
SETC ET1
SETC TR0
SJMP $
b. MOV SP, # 54H
MOV TMOD ,# 0010 0000 C
SETC ET0
SETC TR0
SJMP $
c. MOV SP, # 54 H
MOV TMOD ,# 0010 0000 C
SETC ET1
SETC TR1
SETC EA
SJMP $
d. MOV SP, # 54 H
MOV TMOD ,# 0010 0000 C
SETC ET0
SETC TR1
SETC EA
SJMP $
Please Mark me as the brainliest.