有一电路为ADC0809通过并行接口芯片Intel8255A与微处理器(系统总线)相连的接口电路。 从输入通道读入一个模拟量经ADC0809转换后送入微处理器的程序。
正确答案:
MOV AL,88H
OUT 83H,AL
MOV AL,00H
OUT 81H,AL
ADD AL,10H
OUT 81H,AL
SUB AL,10H
OUT 81H,AL
LOP:IN AL,82H
TEST AL,80H
JZ LOP
IN AL,84H
HLT
OUT 83H,AL
MOV AL,00H
OUT 81H,AL
ADD AL,10H
OUT 81H,AL
SUB AL,10H
OUT 81H,AL
LOP:IN AL,82H
TEST AL,80H
JZ LOP
IN AL,84H
HLT
答案解析:有
![](/editor/images/201705/qrcode_for_gh_573e2a458573_258.jpg)
微信扫一扫手机做题