{"id":2440,"date":"2019-05-16T00:44:41","date_gmt":"2019-05-16T00:44:41","guid":{"rendered":""},"modified":"2019-05-16T08:45:08","modified_gmt":"2019-05-16T00:45:08","slug":"51%e5%8d%95%e7%89%87%e6%9c%ba%e6%8e%a7%e5%88%b6%e5%8a%a8%e6%80%81%e6%95%b0%e7%a0%81%e7%ae%a1%e6%98%be%e7%a4%ba12345%e5%92%8chello%e5%ad%97%e6%a0%b7%e7%9a%84%e8%ae%be","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2440","title":{"rendered":"51\u5355\u7247\u673a\u63a7\u5236\u52a8\u6001\u6570\u7801\u7ba1\u663e\u793a12345\u548cHELLO\u5b57\u6837\u7684\u8bbe"},"content":{"rendered":"

\n\t1\uff0e\u5b9e\u9a8c\u4efb\u52a1<\/p>\n

\n\t\u5982\u56fe4.13.1\u6240\u793a\uff0cP0\u7aef\u53e3\u63a5\u52a8\u6001\u6570\u7801\u7ba1\u7684\u5b57\u5f62\u7801\u7b14\u6bb5\uff0cP2\u7aef\u53e3\u63a5\u52a8\u6001\u6570\u7801\u7ba1\u7684\u6570\u4f4d\u9009\u62e9\u7aef\uff0cP1.7\u63a5\u4e00\u4e2a\u5f00\u5173\uff0c\u5f53\u5f00\u5173\u63a5\u9ad8\u7535\u5e73\u65f6\uff0c\u663e\u793a“12345”\u5b57\u6837\uff1b\u5f53\u5f00\u5173\u63a5\u4f4e\u7535\u5e73\u65f6\uff0c\u663e\u793a“HELLO”\u5b57\u6837\u3002<\/p>\n

\n\t <\/div>\n

\n\t2\uff0e\u7535\u8def<\/u>\u539f\u7406\u56fe<\/p>\n

\n\t\"51\u5355\u7247\u673a\u63a7\u5236\u52a8\u6001\u6570\u7801\u7ba1\u663e\u793a12345\u548cHELLO\u5b57\u6837\u7684\u8bbe\u8ba1\"<\/p>\n

\n\t\u56fe4.13.1<\/p>\n

\n\t3\uff0e\u7cfb\u7edf\u677f\u4e0a\u786c\u4ef6\u8fde\u7ebf<\/p>\n

\n\t\uff081\uff09\uff0e\u628a“\u5355\u7247\u673a<\/u>\u7cfb\u7edf”\u533a\u57df\u4e2d\u7684P0.0\/AD0\uff0dP0.7\/AD7\u75288\u82af\u6392\u7ebf\u8fde\u63a5\u5230“\u52a8\u6001\u6570\u7801\u663e\u793a”\u533a\u57df\u4e2d\u7684a\uff0dh\u7aef\u53e3\u4e0a\uff1b<\/p>\n

\n\t\uff082\uff09\uff0e\u628a“\u5355\u7247\u673a\u7cfb\u7edf”\u533a\u57df\u4e2d\u7684P2.0\/A8\uff0dP2.7\/A15\u75288\u82af\u6392\u7ebf\u8fde\u63a5\u5230“\u52a8\u6001\u6570\u7801\u663e\u793a”\u533a\u57df\u4e2d\u7684S1\uff0dS8\u7aef\u53e3\u4e0a\uff1b<\/p>\n

\n\t\uff083\uff09\uff0e\u628a“\u5355\u7247\u673a\u7cfb\u7edf”\u533a\u57df\u4e2d\u7684P1.7\u7aef\u53e3\u7528\u5bfc\u7ebf\u8fde\u63a5\u5230“\u72ec\u7acb\u5f0f\u952e\u76d8”\u533a\u57df\u4e2d\u7684SP1\u7aef\u53e3\u4e0a\uff1b<\/p>\n

\n\t4\uff0e\u7a0b\u5e8f\u8bbe\u8ba1\u5185\u5bb9<\/p>\n

\n\t\uff081\uff09\uff0e\u52a8\u6001\u626b\u63cf\u65b9\u6cd5<\/p>\n

\n\t\u52a8\u6001\u63a5\u53e3\u91c7\u7528\u5404\u6570\u7801\u7ba1\u5faa\u73af\u8f6e\u6d41\u663e\u793a\u7684\u65b9\u6cd5\uff0c\u5f53\u5faa\u73af\u663e\u793a\u9891\u7387\u8f83\u9ad8\u65f6\uff0c\u5229\u7528\u4eba\u773c\u7684\u6682\u7559\u7279\u6027\uff0c\u770b\u4e0d\u51fa\u95ea\u70c1\u663e\u793a\u73b0\u8c61\uff0c\u8fd9\u79cd\u663e\u793a\u9700\u8981\u4e00\u4e2a\u63a5\u53e3\u5b8c\u6210\u5b57\u5f62\u7801\u7684\u8f93\u51fa\uff08\u5b57\u5f62\u9009\u62e9\uff09\uff0c\u53e6\u4e00\u63a5\u53e3\u5b8c\u6210\u5404\u6570\u7801\u7ba1\u7684\u8f6e\u6d41\u70b9\u4eae\uff08\u6570\u4f4d\u9009\u62e9\uff09\u3002<\/p>\n

\n\t\uff082\uff09\uff0e\u5728\u8fdb\u884c\u6570\u7801\u663e\u793a\u7684\u65f6\u5019\uff0c\u8981\u5bf9\u663e\u793a\u5355\u5143\u5f00\u8f9f8\u4e2a\u663e\u793a\u7f13\u51b2\u533a\uff0c\u6bcf\u4e2a\u663e\u793a\u7f13\u51b2\u533a\u88c5\u6709\u663e\u793a\u7684\u4e0d\u540c\u6570\u636e\u5373\u53ef\u3002<\/p>\n

\n\t\uff083\uff09\uff0e\u5bf9\u4e8e\u663e\u793a\u7684\u5b57\u5f62\u7801\u6570\u636e\u6211\u4eec\u91c7\u7528\u67e5\u8868\u65b9\u6cd5\u6765\u5b8c\u6210\u3002<\/p>\n

\n\t5\uff0e\u7a0b\u5e8f\u6846\u56fe<\/p>\n

\n\t\"51\u5355\u7247\u673a\u63a7\u5236\u52a8\u6001\u6570\u7801\u7ba1\u663e\u793a12345\u548cHELLO\u5b57\u6837\u7684\u8bbe\u8ba1\"<\/p>\n

\n\t\u56fe4.13.2<\/p>\n

\n\t6\uff0e\u6c47\u7f16\u6e90\u7a0b\u5e8f<\/p>\n

\n\tORG 00H<\/p>\n

\n\tSTART\uff1a JB P1.7\uff0cDIR1<\/p>\n

\n\tMOV DPTR\uff0c#TABLE1<\/p>\n

\n\tSJMP DIR<\/p>\n

\n\tDIR1\uff1a MOV DPTR\uff0c#TABLE2<\/p>\n

\n\tDIR\uff1a MOV R0\uff0c#00H<\/p>\n

\n\tMOV R1\uff0c#01H<\/p>\n

\n\tNEXT\uff1a MOV A\uff0cR0<\/p>\n

\n\tMOVC A\uff0c@A+DPTR<\/p>\n

\n\tMOV P0\uff0cA<\/p>\n

\n\tMOV A\uff0cR1<\/p>\n

\n\tMOV P2\uff0cA<\/p>\n

\n\tLCALL DAY<\/p>\n

\n\tINC R0<\/p>\n

\n\tRL A<\/p>\n

\n\tMOV R1\uff0cA<\/p>\n

\n\tCJNE R1\uff0c#0DFH\uff0cNEXT<\/p>\n

\n\tSJMP START<\/p>\n

\n\tDAY\uff1a MOV R6\uff0c#4<\/p>\n

\n\tD1\uff1a MOV R7\uff0c#248<\/p>\n

\n\tDJNZ R7\uff0c$<\/p>\n

\n\tDJNZ R6\uff0cD1<\/p>\n

\n\tRET<\/p>\n

\n\tTABLE1\uff1a DB 06H\uff0c5BH\uff0c4FH\uff0c66H\uff0c6DH<\/p>\n

\n\tTABLE2\uff1a DB 78H\uff0c79H\uff0c38H\uff0c38H\uff0c3FH<\/p>\n

\n\tEND<\/p>\n

\n\t7\uff0eC\u8bed\u8a00\u6e90\u7a0b\u5e8f<\/p>\n

\n\t#include<\/p>\n

\n\tunsigned char code table1\uff3b\uff3d={0x06\uff0c0x5b\uff0c0x4f\uff0c0x66\uff0c0x6d};<\/p>\n

\n\tunsigned char code table2\uff3b\uff3d={0x78\uff0c0x79\uff0c0x38\uff0c0x38\uff0c0x3f};<\/p>\n

\n\tunsigned char i;<\/p>\n

\n\tunsigned char a\uff0cb;<\/p>\n

\n\tunsigned char te<\/u>mp;<\/p>\n

\n\tvoid mai<\/u>n\uff08void\uff09<\/p>\n

\n\t{<\/p>\n

\n\twhile\uff081\uff09<\/p>\n

\n\t{<\/p>\n

\n\ttemp=0xfe;<\/p>\n

\n\tfor\uff08i=0;i\u300a5;i++\uff09<\/p>\n

\n\t{<\/p>\n

\n\tif\uff08P1_7==1\uff09<\/p>\n

\n\t{<\/p>\n

\n\tP0=table1\uff3bi\uff3d;<\/p>\n

\n\t}<\/p>\n

\n\telse<\/p>\n

\n\t{<\/p>\n

\n\tP0=table2\uff3bi\uff3d;<\/p>\n

\n\t}<\/p>\n

\n\tP2=temp;<\/p>\n

\n\ta=temp\u300a\u300a\uff08i+1\uff09;<\/p>\n

\n\tb=temp\u300b\u300b\uff087-i\uff09;<\/p>\n

\n\ttemp=a|b;<\/p>\n

\n\tfor\uff08a=4;a\u300b0;a--\uff09<\/p>\n

\n\tfor\uff08b=248;b\u300b0;b--\uff09;<\/p>\n

\n\t}<\/p>\n

\n\t}<\/p>\n

\n\t}<\/p>\n","protected":false},"excerpt":{"rendered":"

1\uff0e\u5b9e\u9a8c\u4efb\u52a1 \u5982\u56fe4.13.1\u6240\u793a\uff0cP0\u7aef\u53e3\u63a5\u52a8\u6001\u6570\u7801\u7ba1\u7684\u5b57\u5f62\u7801\u7b14\u6bb5\uff0cP2\u7aef\u53e3\u63a5\u52a8\u6001\u6570\u7801\u7ba1\u7684\u6570\u4f4d\u9009\u62e9\u7aef\uff0cP1.7\u63a5\u4e00\u4e2a\u5f00\u5173\uff0c\u5f53\u5f00\u5173\u63a5\u9ad8\u7535\u5e73\u65f6\uff0c\u663e\u793a12345\u5b57\u6837\uff1b\u5f53\u5f00\u5173\u63a5\u4f4e\u7535\u5e73\u65f6\uff0c\u663e\u793aHELLO\u5b57<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2440"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2440"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2440\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2440"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}