提交 ec2b8c1f 创建 作者: 李川's avatar 李川 提交者: 李川

修改Lab007实验模板

上级 b9407d17
没有这种文件类型的预览
......@@ -191,9 +191,9 @@
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="123" y="1158">V1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="106" y="1264">DC1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="106" y="1264">DC11</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="152" y="1206">10V</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="152" y="1206">-10V</text>
<polyline fill="none" points="72 1086, 672 1086" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
......@@ -293,7 +293,7 @@
<text alignment-baseline="after-edge" fill="#00ff00" font-family="微软雅黑" font-size="35" font-weight="700" text-anchor="start" x="2132" y="1076">+</text>
<text alignment-baseline="after-edge" fill="#00ff00" font-family="微软雅黑" font-size="35" font-weight="700" text-anchor="start" x="2432" y="1076">9.96093</text>
<text alignment-baseline="after-edge" fill="#00ff00" font-family="微软雅黑" font-size="35" font-weight="700" text-anchor="start" x="2432" y="1076">-9.96093</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2262" y="1006">U1</text>
......
;test
;利用DAC 0832 产生一个正向锯齿波电压,DAC0832工作在单缓冲方式,端口地址为0x80。
.text
BEGIN:
mov al, 0x1a
UP:
out 2, al
inc al
cmp al, 0x84
jnz UP
dec al
DOWN:
out 2, al
dec al
cmp al, 0x19
jnz DOWN
jmp BEGIN
mov dl, 0x80
mov al, 0
out dl,al
NEXT:
add al, 0x40
out dl, al
jmp NEXT
没有这种文件类型的预览
0001 ;test
0001 ;利用DAC 0832 产生一个正向锯齿波电压,DAC0832工作在单缓冲方式,端口地址为0x80。
0002 .text
0003
0004 BEGIN:
0005 10 01 00 1A mov al, 0x1a
0006
0007 UP:
0008 13 4E 00 02 out 2, al
0009 16 78 00 inc al
0010 18 47 00 84 cmp al, 0x84
0011 1B 55 13 jnz UP
0012 1D 79 00 dec al
0004 10 01 03 80 mov dl, 0x80
0005 13 01 00 00 mov al, 0
0006 16 4D 03 out dl,al
0007
0008 NEXT:
0009 18 0E 00 40 add al, 0x40
0010 1B 4D 03 out dl, al
0011 1D 57 18 jmp NEXT
0012
0013
0014 DOWN:
0015 1F 4E 00 02 out 2, al
0016 22 79 00 dec al
0017 24 47 00 19 cmp al, 0x19
0018 27 55 1F jnz DOWN
0019 29 57 10 jmp BEGIN
0020
0021
0022
没有这种文件类型的预览
没有这种文件类型的预览
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<svg height="4520" version="1.1" width="8149" xmlns="http://www.w3.org/2000/svg">
<svg height="4520" version="1.1" width="11042" xmlns="http://www.w3.org/2000/svg">
<text alignment-baseline="after-edge" fill="#800000" font-family="微软雅黑" font-size="200" font-weight="700" text-anchor="start" x="28" y="3744">DBUS[7..0]</text>
......@@ -455,6 +455,220 @@
<polyline fill="none" points="1568 2444, 1268 2444" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<rect fill="#80ff80" height="1000" stroke="#800000" stroke-width="1" width="700" x="9018" y="1944"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="175" font-weight="700" text-anchor="start" x="9018" y="1844">DAC0832</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9018" y="1894">DAC0832\DAC0832.dlsche</text>
<polygon fill="#ffff80" points="9018 2044, 9043 2019, 9093 2019, 9118 2044, 9093 2069, 9043 2069, 9018 2044" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2044">CS</text>
<polygon fill="#ffff80" points="9018 2144, 9043 2119, 9093 2119, 9118 2144, 9093 2169, 9043 2169, 9018 2144" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2144">WR1</text>
<polygon fill="#ffff80" points="9018 2244, 9043 2219, 9093 2219, 9118 2244, 9093 2269, 9043 2269, 9018 2244" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2244">AGND</text>
<polygon fill="#ffff80" points="9018 2344, 9043 2319, 9093 2319, 9118 2344, 9093 2369, 9043 2369, 9018 2344" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2344">D3</text>
<polygon fill="#ffff80" points="9018 2444, 9043 2419, 9093 2419, 9118 2444, 9093 2469, 9043 2469, 9018 2444" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2444">D2</text>
<polygon fill="#ffff80" points="9018 2544, 9043 2519, 9093 2519, 9118 2544, 9093 2569, 9043 2569, 9018 2544" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2544">D1</text>
<polygon fill="#ffff80" points="9018 2644, 9043 2619, 9093 2619, 9118 2644, 9093 2669, 9043 2669, 9018 2644" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2644">D0</text>
<polygon fill="#ffff80" points="9018 2744, 9043 2719, 9093 2719, 9118 2744, 9093 2769, 9043 2769, 9018 2744" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2744">VREF</text>
<polygon fill="#ffff80" points="9018 2844, 9043 2819, 9093 2819, 9118 2844, 9093 2869, 9043 2869, 9018 2844" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9128" y="2844">Rfb</text>
<polygon fill="#ffff80" points="9718 2044, 9693 2019, 9643 2019, 9618 2044, 9643 2069, 9693 2069, 9718 2044" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2044">ILE</text>
<polygon fill="#ffff80" points="9718 2144, 9693 2119, 9643 2119, 9618 2144, 9643 2169, 9693 2169, 9718 2144" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2144">WR2</text>
<polygon fill="#ffff80" points="9718 2244, 9693 2219, 9643 2219, 9618 2244, 9643 2269, 9693 2269, 9718 2244" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2244">XFER</text>
<polygon fill="#ffff80" points="9718 2344, 9693 2319, 9643 2319, 9618 2344, 9643 2369, 9693 2369, 9718 2344" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2344">D4</text>
<polygon fill="#ffff80" points="9718 2444, 9693 2419, 9643 2419, 9618 2444, 9643 2469, 9693 2469, 9718 2444" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2444">D5</text>
<polygon fill="#ffff80" points="9718 2544, 9693 2519, 9643 2519, 9618 2544, 9643 2569, 9693 2569, 9718 2544" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2544">D6</text>
<polygon fill="#ffff80" points="9718 2644, 9693 2619, 9643 2619, 9618 2644, 9643 2669, 9693 2669, 9718 2644" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2644">D7</text>
<polygon fill="#ffff80" points="9718 2744, 9693 2719, 9643 2719, 9618 2744, 9643 2769, 9693 2769, 9718 2744" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2744">Iout2</text>
<polygon fill="#ffff80" points="9718 2844, 9693 2819, 9643 2819, 9618 2844, 9643 2869, 9693 2869, 9718 2844" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9508" y="2844">Iout1</text>
<polyline fill="none" points="9718 2044, 9918 2044" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="9918" x2="9918" y1="1994" y2="2044"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="9918 1994, 9968 1944, 9868 1944, 9918 1994" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="30" font-weight="700" text-anchor="start" x="9908" y="1984">1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="9908" y="1914">U1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="9848" y="1944">DIGITAL1</text>
<polyline fill="none" points="9718 2344, 9918 2344" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9718 2444, 9918 2444" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9718 2544, 9918 2544" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9718 2644, 9918 2644" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9818" y="2344">DBUS4</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9818" y="2444">DBUS5</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9818" y="2544">DBUS6</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="9818" y="2644">DBUS7</text>
<polyline fill="none" points="9018 2344, 8868 2344" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9018 2444, 8868 2444" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9018 2544, 8868 2544" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9018 2644, 8868 2644" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="8868" y="2344">DBUS3</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="8868" y="2444">DBUS2</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="8868" y="2544">DBUS1</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="8868" y="2644">DBUS0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="8618" x2="8618" y1="2824" y2="2744"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="8618" x2="8618" y1="2884" y2="2964"/>
<polyline fill="none" points="8568 2824, 8668 2824" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="8598 2844, 8638 2844" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="8568 2864, 8668 2864" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="8598 2884, 8638 2884" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="8669" y="2816">V1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="8652" y="2922">DC</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="8698" y="2864">5V</text>
<polyline fill="none" points="9018 2744, 8618 2744" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="8618" x2="8618" y1="3344" y2="3244"/>
<polyline fill="none" points="8568 3344, 8668 3344" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="8588 3360, 8648 3360" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="8608 3375, 8628 3375" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="8628" y="3294"></text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="8588" y="3424">GND</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="10078" x2="10018" y1="2804" y2="2804"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="10053" y="2804">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="10078" x2="10018" y1="2744" y2="2744"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="10053" y="2744">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="10178" x2="10238" y1="2774" y2="2774"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="10203" y="2774">3</text>
<polygon fill="#fffcf8" fill-opacity="0.5" points="10078 2714, 10078 2834, 10178 2774, 10078 2714" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="27" font-weight="700" text-anchor="start" x="10081" y="2821">+</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="27" font-weight="700" text-anchor="start" x="10084" y="2760">-</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="10118" y="2734">1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="10078" y="2884">AMP</text>
<polyline fill="none" points="9718 2844, 9868 2844, 9868 2744, 10018 2744" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9718 2744, 9818 2744, 9818 2804, 10018 2804" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="10438" x2="10318" y1="2774" y2="2774"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="10838" x2="10958" y1="2774" y2="2774"/>
<rect fill="#808080" height="170" stroke="#808080" stroke-width="5" width="400" x="10438" y="2684"/>
<rect fill="#000000" height="100" stroke="#000000" stroke-width="5" width="250" x="10508" y="2724"/>
<text alignment-baseline="central" fill="#00ff00" font-family="微软雅黑" font-size="35" font-weight="700" text-anchor="end" x="10738" y="2774">0</text>
<text alignment-baseline="after-edge" fill="#00ff00" font-family="微软雅黑" font-size="35" font-weight="700" text-anchor="start" x="10768" y="2794">V</text>
<text alignment-baseline="after-edge" fill="#00ff00" font-family="微软雅黑" font-size="35" font-weight="700" text-anchor="start" x="10478" y="2734">+</text>
<text alignment-baseline="after-edge" fill="#00ff00" font-family="微软雅黑" font-size="35" font-weight="700" text-anchor="start" x="10778" y="2734">4.98047e-13</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="10608" y="2664">U2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="10608" y="2914">V</text>
<polyline fill="none" points="10238 2774, 10318 2774" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9018 2844, 8918 2844, 8918 3044, 10268 3044, 10268 2774" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="8618 3244, 8618 2964" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9018 2244, 8468 2244, 8468 3144, 8618 3144, 11018 3144, 11018 2774, 10958 2774" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9018 2144, 8118 2144" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9018 2044, 8318 2044, 8318 2344, 8118 2344" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="9918 2804, 9918 3144" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<circle cx="7218" cy="974" fill="#000080" r="25" stroke="#000080" stroke-width="5"/>
<circle cx="5318" cy="974" fill="#000080" r="25" stroke="#000080" stroke-width="5"/>
......@@ -467,4 +681,12 @@
<circle cx="1468" cy="2844" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="8618" cy="3144" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="10268" cy="2774" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="9918" cy="2804" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="9918" cy="3144" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
</svg>
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论