找回密码
 注册会员
更新自动建库工具PCB Footprint Expert 2024.04 Pro / Library Expert 破解版

程序出有点问题!!谁帮忙看!有点急

[复制链接]
admin 发表于 2012-9-3 00:56:14 | 显示全部楼层 |阅读模式

本文包含原理图、PCB、源代码、封装库、中英文PDF等资源

您需要 登录 才可以下载或查看,没有账号?注册会员

×
STACK SEGMENT STACK
DW 64 DUP(?)
STACK ENDS
DATA SEGMENT
TABLE DB 3FH,06H,5BH,4AH,66H,6DH,7DH,07H,7FH,6FH
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START : MOV AX,DATA
MOV DS,AX
MOV DX,0063H
MOV AL,80H
OUT DX,AL
MOV DX,0062H
M0: MOV AL,01111011B
OUT DX,AL
MOV CX,60
CALL DEYIS
MOV AL,10111011B
OUT DX,AL
MOV CX,60
M1: CALL DEYIS
LOOP M1
MOV CX,0004H
M2: MOV AL,11011011B
OUT DX,AL
CALL DEYIS
MOV AL,11111011B
OUT DX,AL
CALL DEYIS
LOOP M2
MOV AL,011111101B
OUT DX,AL
MOV CX,30
M3: CALL DEYIS
LOOP M3
MOV CX,0004H
M4: MOV AL,01111110B
OUT DX,AL
CALL DEYIS
MOV AL,01111111B
OUT DX,AL
CALL DEYIS
LOOP M4
JMP M0
DEYIS PROC NEAR
PUSH DX
MOV DX,0200H
CON: CALL DISP
DEC DX
JNZ CON
POP DX
RET
DEYIS1 PROC NEAR
PUSH AX
PUSH CX
PUSH DX
MOV BL,10
DIV BL
MOV SI,3000H
MOV [SI],AX
MOV DL,OFFH
MOV AL,DL
AGAIN: OUT 60H,AL
MOV AL,[SI]
MOV BX,OFFFSET TABLE
AND AX,00FFH
ADD BX,AX
MOV AL,[BX]
OUT 61H,AL
CALL DALLY
INC SI
MOV AL,DL
TEST AL,04H
JZ ENDIS
DOR AL,1
MOV DL,AL
JMP AGAIN
ENDIS: POP DX
POP CX
POP AX
RET
DISP ENDP
DALLY: PUSH CX
MOV CX,0010H
T1: MOV AX,0010H
T2: DEC AX
JNZ T2
LOOP T1
POP CX
RET
CODE ENDS
END START
*滑块验证:
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

QQ|手机版|MCU资讯论坛 ( 京ICP备18035221号-2 )|网站地图

GMT+8, 2025-1-11 22:42 , Processed in 0.055768 second(s), 8 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表