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

i need all ur knowledge to help me.. ^^


You are reading an archived discussion.

Related Posts

Hi all why cant we start a design contest for our CEans? Is there any idea reagrding it... post here.............. Thanks balaseven
hi i had completed my be in electrical and wish to do plc programming frm pune plz do recomend some good institute in pune
Some of the old circuits, near to diode indications are given as P side -ve and N side +ve even though Battery +ve is connected to P side. what it...
hi CEans, can anyone pls explain me what is meant by an environmental variable?for what purpose these environmental variables(either system or user variables) used in win xp? thanks in advance.
Hi, I'm a final year student and will be having my final semester starting next month. Together with doing my FYP, I also need to consider and applying for my...