lf.asm

来自「微机原理——接口应用编程源码」· 汇编 代码 · 共 37 行

ASM
37
字号
stack segment stack
      dw 64 dup(?)
stack ends

data segment 
table db 41h,44h,30h,38h,30h,39h,3ah,49h,4eh,30h,20h,20h,00h
data ends

code segment 
      assume cs:code,ds:data

start:   mov ax,data
         mov ds,ax
         out 00h,al
        ' call delly
         in al,00h

         mov al,00h
         and al,0fh
         mov dx,213h
         out dx,al

         mov dx,212h
         out dx,al
         
   next: mov dx,211h
         in dx,al
         add al,80h
         jnz  next
         and al,0fh
         mov ah,al
         mov dx,210h
         in al,dx
         

end start
        

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?