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?