《微机原理接口与技术》(8086汇编)期末考试、考研常见考题、习题,题型汇总、知识点总结、专周(十)

实验一:基本IO口使用

实验器材:
在这里插入图片描述

母电路:
在这里插入图片描述
子电路:
在这里插入图片描述
仿真图:
在这里插入图片描述

程序源码:

code segment 
START:
   	mov BL,0ffH
L:  mov DX,0030H
    in AL,DX
    test AL,1
    jz N
    not BL
N:  mov AL,BL
    mov DX,030H
    out DX,AL
    jmp L
code ends
    end START
原创文章 59 获赞 52 访问量 1万+

猜你喜欢

转载自blog.csdn.net/liuxianfei0810/article/details/105889261
今日推荐