⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1蓝数码管.asm

📁 汇编程序
💻 ASM
字号:
assume cs:code
        	code segment public
        	org 100h
;===============================================
start: 	mov ax,0
                mov dx,04a0h
                in al,dx
                not al
                mov bx,ax
                mov si,offset  LEDtb
               mov al,byte ptr  [bx+si]
                mov  dx, 04b0h			
        	out 	 dx, al
              call delay
              mov al,0
               mov  dx, 04b0h			
        	out 	 dx, al
             call delay
                jmp start
LEDtb:  db 3fh,06h,5bh,4fh,66h,6dh,7dh,07h,7fh,6fh,77h,7ch,39h,5eh,79h,71h

delay proc
push cx
          mov cx,15000
 lop: loop lop
pop cx
       ret 
delay endp         
code 	ends
end 		start

⌨️ 快捷键说明

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