noobcomengg
noobcomengg
Branch Unspecified
06 Dec 2007

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.. ^^


Be the first one to reply

Share this content on your social channels -

Only logged in users can reply.