登录 | 注册

首页 | 学习中心 | 下载中心 | 知识大全 | 作文 | 常识 | 加入收藏 | 网站地图

您当前位置:多思学习网知识频道电脑学习软件技巧打印机的复位

打印机的复位

11-08 12:39:07软件技巧
浏览次数:422次 
标签:软件技巧大全,http://www.duosi8.com 打印机的复位,
  程序清单:
        LPT1 equ 0008h
        code segment
        assume cs:code,ds:code
        org 100h
        start:  mov ax,j0040h
        mov ds,ax
        mov dx,ds:LPT1           ;dx=LPT1 data port
        inc dx                   ;dx=LPT1 state port
             inc dx                   ;dx=LPT1 command port
        mov al,08h
        out dx,al
             push dx
             mov dx,0032h
             mov cx,0000h
             mov ah,86h
             int 15h
             pop dx
             mov al,0Ch
             out dx,al
             int 20h
        code ends
             end start
        (上海 庄炯)
 

,打印机的复位
《打印机的复位》相关文章

联系我们 | 网站地图 | 幼教大全 | 试题下载 | 电脑学习 | 加入收藏


幼儿园教案_ 教案模板_ 课件模板_ 教学反思_ 教学计划


多思学习网 1 2 3 4 5 6