microprocessors - How to do Interfacing of Dot Matrix display with 8088 microprocessor using MDA-8086 Trainer?
问题描述
Below is given sample code of "Sequentially ON, the whole line of Dot Matrix from Up to Down and perform this operation continuously"
CODE SEGMENT
ASSUME CS:CODE; DS:CODE; ES:CODE; SS:CODE
CW EQU 1EH
PORTC EQU 1CH
PORTB EQU 1AH
PORTA EQU 18H
ORG 1000H
MOV AL,80H
OUT CW,AL
MOV AL,0FFH
OUT PORTC,AL
MOV AL,0FFH
OUT PORTB,AL
MOV AL,7FH
BACK: OUT PORTA,AL
CALL TIMER
ROR AL,1
JMP BACK
TIMER: PUSH CX
MOV CX,1
TIMER2: PUSH CX
MOV CX,0
TIMER1: NOP
NOP
NOP
LOOP TIMER1
POP CX
LOOP TIMER2
POP CX
RET
CODE ENDS
END
I have to acheive the following: a) Sequentially ON, the whole line of Dot Matrix from Down to Up and perform this operation 5 times. b) Put on the diagonal LEDs. c) Display “X” on Dot Matrix.
Can anyone please help with this?
解决方案
推荐阅读
- c++ - 尝试在命名空间中定义类时出现问题(不完整类型的分配)
- css - 仅在 iPhone 设备上水平挤压图像
- python - 奇点图像在不同机器上的不同行为?
- php - 如何从网络打印到通过 USB 连接的本地热敏打印机?
- symfony - Api-Platform graphql - 在一个突变中创建多个项目
- oracle - Oracle 索引建立/删除历史
- r - 使用 dplyr::c_across 和 filter_if 在同一调用中过滤无限值和 NA
- vb.net - vb.NET 在同一选项卡控件中的两个选项卡页之间拖放
- python - 用两个不同的字符串替换子字符串,具体取决于它们的位置
- python - 我的程序使用 IMDBpy 有没有一种方法可以使用该程序而无需在使用之前手动安装 IMDBpy?