1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Đề cương Vi xử lý (P2) - Hệ Trung cấp&Cao đẳng

76 399 2
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 76
Dung lượng 357,23 KB

Nội dung

 !" # $%& '$(  )*+,"*-  .  $(+    !"#$%&'( ')*+,-&.,/01234131445 67+8%09:2  :               !       "  #$%&'()'*+,'-,+.'/'0 12 ,3  &3  3  *34#    1               !       "  "5'',6.''71 859:,#;<2 ,33=- &334=- 33=- *334=-     ; >6=-859:,#;< ,3            !     " &3        ?    !     " 3        ?    !     " *3        ?    !     " 9 >6=-859:,#;< ,3            !     " &3            !     " 3    ?    4    !     " *3        ?    !     "   !" / $%& '$(  2 >6@=-859:,#;< ,3       ?    !     " &3        A?    !     " 3        A?    !     " *3        ?    !     " < >6?=-859:,#;< ,3       ?    !     " &3        ?    !     " 3        ?    !     " *3    ?    ?    !     " = >6B=-859:,#;< ,3           !     "     &3        4    !     "     3               !        "  *3           ?    !        " 5 >6=-859:,#;< ,3       ?    !     "     &3        ?    !     "     3               !        "  *3       4    ?    !        "  !" 0 $%& '$(  > >6?=-859:,#;< ,3       ?    !     "     &3           ?    !        "  3           ?    !        "  *3    ?       ?    !        " :4 >6?=-859:,#;< ,3           ?    !        " &3           ?    !        " 3           ?    !        " *3           ?    !        " :: >63=-859:,#;< ,3            !     " &3            !     " 3           !     " *3           !     " :1 >634=-859:,#;< ,3            !     " &3            !     " 3           !     " *3       4    !     "   !" 1 $%& '$(  :; >63B=-859:,#;< ,3            !     " &3    ?    B    !     " 3   B        !     " *3   4        !     " :9 >6-859:,#;< ,3               !        " &3           ?    !        " 3           ?    !        " *3    4   ?    ?    !        " :2 >6-859:,#;< ,3           ?    !        " &3           ?    !        " 3           ?    !        " *3           ?    !        " :< >64-859:,#;< ,3           4    !        " &3           ?    !        " 3           ?    !        " *3           ?    !        "  !" 2 $%& '$(  := >6-859:,#;< ,3   ?    ?    C    !        " &3   ?    ?    B    !        " 3    ?   ?    B    !        " *3       ?    ?    !        " :5 "=6D'(-,' ,3            !     "  &3            !     "  3          E    E     " *3           !     " :> "=6D'(-,' ,3   EFG# #  EFG# #           !      EE #  EE # "  &3   EFG# #  EFG# #         E    E      EE #  EE # " 3   EFG# #  EFG# #           !      EE #  EE # "  *3   EFG# #  EFG# #           !      EE #  EE # " 14 859:,#;<   H # I  E#       EJJ#     GEI   EFG# #   EFG# #           !        EE #   EE #  "    1'K+.'L*$%M'DN'E 8O/=PQ:<-RST'1UDN'V-M ,3C?#;  &33?W#; 33?W#; *3@3?#;  !" 3 $%& '$(  1: 859:,#;<   H # I  E#       EJJ#     GEI  EFG# #   EFG# #    4         !        EE #   EE #  "    1'K+.'L*$%M'DN'E 8O/=PQ:<-RST'1UDN'V-M ,3C?#;  &33?W#; 33?W#; *3@3?#; 11 859:,#;<   H # I  E#       EJJ#     GEI   EFG# #   EFG# #    ?         !        EE #   EE #  "    1'K+.'L*$%M'DN'E 8O/=PQ:<-RST'1UDN'V-M ,3?#;  &3W#; 33?W#; *3?#; 1; 859:,#;<   H # I  E#       EJJ#     GEI  EFG# #   EFG# #    ?    B     !        EE #   EE #  "    1'K+.'L*$%M'DN'E 8O/=PQ:<-RST'1UDN'V-M ,3 ?#; &3?#; 3C3?W#; *3C3?#; 19 859:,#;<   H # I  E#       EJJ#     GEI   EFG# #   EFG# #        B     !        EE #   EE #  "    1'K+.'L*$%M'DN'E 8O/=PQ:<-RST'1UDN'V-M ,3 C3?#; &33C?W#; 3?#; *3@3?#;  !" 4 $%& '$(  12 859:,#;<   H # I  E#       EJJ#        GEI  EFG# #   EFG# #    ?         !        EE #   EE #  "    1'K+.'L*$%M'DN'E 8O/=PQ:<-RST'1UDN'V-M ,3 W#;  &33?W#; 33?W#; *3?#; 1< "=6D'(-,' ,3   "#  "#X#  "# G"X" X "J!  "  "J "  &3   "#  "#X#  "# G"X" X "J!  "  "J "  3   "#  "#X#  "# G"X" E X "J!  "  "J " *3   "#  "#X#  "# G"X" X "J!  "  "J " 1= 859:,#;<   H # I  E#       EJJ#        GEI  EFG# #   EFG# #             !        EE #   EE #  "    1'K+.'L*$%M'DN'E8 O/=PQ:<-RST'1UDN'V-M ,3C3?#;  &33?W#; 33?W#; *3?#;  !" 5 $%& '$(  15 859:,#;<   H # I  E#       EJJ#        GEI  EFG# #   EFG# #    ?         !        EE #   EE #  "    1'K+.'L*$%M'DN'E8 O/=PQ:<-RST'1UDN'V-M ,3#;  &3?W#; 3?#; *3#; 1> 859:,#;<   H # I  E#       EJJ#        GEI  EFG# #   EFG# #             !        EE #   EE #  "    1'K+.'L*$%M'DN'E8 O/=PQ:<-RST'1UDN'V-M ,3C3?W#; &3?W#; 3?W#; *3?W#; ;4 859:,#;<   H # I  E#       EJJ#        GEI  EFG# #   EFG# #    4         !        EE #   EE #  "    1'K+.'L*$%M'DN'E8 O/=PQ:<-RST'1UDN'V-M ,3 C3?W#; &33?W#; 3?W#; *3@3?W#;  !" 6 $%& '$(  ;: "=6D'(-,' ,3   "#  "#@#  "X# G"X" E X"JE  "  "J "  &3  "# "##IH#8Y?< "Z8Y?< G"X" X "J!  "  "J "   3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "   *3   "# "#@# "X# G"X" X "J!  "  "J "   ;1 "=6D'(-,' ,3   "#  "#@#  "X# G"X" E X"JE  "  "J "  &3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "   3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "   *3   "#  "#@# "X# G"X" X "J!  "  "J " ;; "=6D'(-,' ,3   "#  "#@#  "X# G"X" E X"JE  "  "J " &3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "  3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "  *3   "#  "#@#  "X# G"X" X "J!  "  "J "  ;9 "=6D'(-,' ,3   "#  "#@#  "X# G"X" E X"JE  "  "J " &3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "  3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "  *3   "#  "#@#  "X# G"X" X "J!  "  "J "  !" #7 $%& '$(  ;2 "=6D'(-,' ,3   "#  "#@  "X G"X" E X"JE  "  "J " &3  "# "##IH#8Y?< "Z8Y?< G"X" X "J!  "  "J "  3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "  *3   "#  "#@#  "X# G"X" X "J!  "  "J " ;< "=6D'(-,' ,3   "#  "#@#  "X# G"X" E X "JE  "  "J " &3  "# "##IH#8Y?< "Z8Y?< G"X"J X "J!  "  "J "  3   "#  "##IH#8Y?<  "Z8Y?< G"X" X "J!  "  "J "  *3   "#  "#@#  "X# G"X" X "J!  "  "J " ;= >6- ,3  EFG# #    "#   "#B#  "J# G"X" X "J!  "  "J   EE # "  &3  EFG# #    "#   "#B#  "J# G"X" X "J!  "  "J   EE # "  3  EFG# #  4  "#   "#B#  "J# G"X" X "J!  "  "J   EE # "  *3  EFG# #   "#   "#B#  "J# G"X" X "J!  "  "J   EE # " [...]... TL0,#LOW(Y10000) Th5i gian t o tr6 khi th/c hi0n ño n chương trình con trên? TR0 a 76.5s b 0.2s c 0s d 76.8s TF0,$ Biên so n: B( môn Đi n t Công nghi p Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 62 Tìm ño n chương trình con t o tr6 vi( t sai: c b a DELAY: DELAY: DELAY: PUSH 00H PUSH 01H PUSH 00H MOV R0,#200 MOV R1,#200 MOV R0,#200 MOV TMOD,#01H MOV TMOD,#01H MOV TMOD,#01H DEL: DEL2: DEL:... nghi p d DELAY: PUSH 01H MOV R1,#200 MOV TMOD,#10H DEL: MOV TH1,HIGH(Y10000) MOV TL1,LOW(Y10000) SETB TR1 JNB TF1,$ CLR TR1 CLR TF1 DJNZ R1,DEL POP 01H RET Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 18 64 Tìm chương trình con t o tr6 vi( t ñúng: d c b a DELAY: DELAY: DELAY: DELAY: PUSH 01H PUSH 01H PUSH 00H PUSH 00H MOV R1,#200 MOV R1,#300 MOV R0,#200 MOV R1,#20 MOV TMOD,#01H MOV TMOD,#10H... TR1 SETB TR0 SETB TR0 SETB TR0 LAP: JNB TF0,$ JNB TF0,$ JNB TF0,$ JNB TF1,LAP CLR TR0 CLR TF0 CLR TR0 CLR TR1 CLR TF0 RET CLR TF0 CLR TF1 RET RET RET Biên so n: B( môn Đi n t Công nghi p Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 13 44 Đo n chương trình con t o tr6 100ms (trư5ng h9p th ch anh 12 MHz): a b c d DELAY: DELAY: DELAY: DELAY: PUSH 00H PUSH 00H PUSH 00H PUSH 00H MOV R0,#100... TMOD,#01H CLR TF0 MOV TH0,#3CH RET MOV TL0,#0B0H SETB TR0 Th5i gian t o tr6 khi th/c hi0n ño n chương trình con trên? JNB TF0,$ a 20ms b 30ms c 50ms d 40ms Biên so n: B( môn Đi n t Công nghi p Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 48 Cho ño DELAY: MOV MOV MOV SETB JNB 49 Cho ño DELAY: MOV MOV MOV SETB JNB 50 Cho ño DELAY: MOV MOV MOV SETB JNB 51 Cho ño DELAY: MOV MOV MOV SETB JNB 52 Cho... TMOD,#01H POP 00H RET TH0,#HIGH(Y4000) TL0,#LOW(Y4000) Th5i gian t o tr6 khi th/c hi0n ño n chương trình con trên? TR0 a 0.2s b 40ms c 2s d 4s TF0,$ Biên so n: B( môn Đi n t Công nghi p Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 54 Cho ño DELAY: PUSH MOV MOV DEL: MOV MOV SETB JNB 55 Cho ño DELAY: PUSH MOV MOV DEL: MOV MOV SETB JNB 56 Cho ño DELAY: PUSH MOV MOV DEL: MOV MOV SETB JNB 57... R0,#9,DEL POP 00H TH0,#HIGH(Y3000) RET TL0,#LOW(Y3000) TR0 Th5i gian t o tr6 khi th/c hi0n ño n chương trình con trên? TF0,$ a 12ms b 27ms c 15ms d 3ms Biên so n: B( môn Đi n t Công nghi p 15 Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 58 Cho ño DELAY: MOV MOV DEL2: MOV DEL: MOV MOV SETB JNB 59 Cho ño DELAY: MOV MOV DEL2: MOV DEL: MOV MOV SETB JNB 60 Cho ño DELAY: MOV MOV DEL2: MOV DEL: MOV...Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 11 38 Đo n chương trình con t o tr6 1s (trư5ng h9p th ch anh 12 MHz): c b a DELAY: DELAY: DELAY: PUSH 00H PUSH 00H PUSH 00H MOV R0,#200 MOV R0,#200 MOV R0,#200... R0,DEL DJNZ R0,DEL RET RET RET d DELAY: MOV R0,#250 MOV TMOD,#01H DEL: MOV TH0,#0D8H MOV TL0,#0F0H SETB TR0 JNB TF0,$ CLR TR0 CLR TF0 DJNZ R0,DEL RET Biên so n: B( môn Đi n t Công nghi p Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 41 Đo n chương trình con t o tr6 10s (trư5ng h9p th ch anh 12 MHz): c b a DELAY: DELAY: DELAY: PUSH 00H PUSH 00H PUSH 00H MOV R0,#200 MOV R0,#200 MOV R0,#200... sáng tSt liên tUc vNi tVn sM 10KHz, chương trình con MOV P0,#0FFH DELAY ph]i t o th5i gian tr6: LCALL DELAY a 100ms b 5ms c 0.1ms d 0.05ms SJMP MAIN Biên so n: B( môn Đi n t Công nghi p Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 19 68 Cho ño n chương trình (trư5ng h9p th ch anh 12 MHz): MAIN: ĐL ñiKu khiLn dãy LED ñơn nMi vNi Port 0 (LED tích c/c mPc MOV P0,#00H thQp) sáng tSt liên tUc... thQp) sáng tSt liên tUc vNi tVn sM 500Hz, chương trình con MOV P0,#0FFH DELAY ph]i t o th5i gian tr6: LCALL DELAY a 1ms b 2ms c 0.1ms d 0.05ms SJMP MAIN Biên so n: B( môn Đi n t Công nghi p Đ cương ôn thi môn Vi x h Trung C p, Cao ñ ng & Đ i h!c 20 74 Cho ño n chương trình (trư5ng h9p th ch anh 12 MHz): MAIN: ĐL ñiKu khiLn dãy LED ñơn nMi vNi Port 0 (LED tích c/c mPc MOV P0,#00H thQp) sáng tSt liên tUc . Q:<-RST'1UDN'V-MW#; :]'5'',6 ,3 =-  &3 =-  33? =- *3 - . Q:<-RST'1UDN'V-M#; :]'5'',6 ,33 -  &3 -  33 ?-  *3 -

Ngày đăng: 20/10/2013, 09:15

TỪ KHÓA LIÊN QUAN

w