assembly program on turning on LEDS shifting vice versa
hi guys im new here.. only a beginner in creating programs using assembly language.
theres something wrong with my program on how to shift instructions turning ON one led from left to right to right and vice versa..
mov dx, 378
mov al, 1
mov cx, 8
out dx, al
call 0112
shl al, 1
loop 0108
int 20
push cx
mov cx, 7FFF
push cx
mov cx, 7FFF
loop 0117
pop cx
loop 0116
pop cx
ret
i need all ur knowledge to help me.. ^^
theres something wrong with my program on how to shift instructions turning ON one led from left to right to right and vice versa..
mov dx, 378
mov al, 1
mov cx, 8
out dx, al
call 0112
shl al, 1
loop 0108
int 20
push cx
mov cx, 7FFF
push cx
mov cx, 7FFF
loop 0117
pop cx
loop 0116
pop cx
ret
i need all ur knowledge to help me.. ^^
0