提交 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
没有这种文件类型的预览
没有这种文件类型的预览
差异被折叠。
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论