View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12760 Members
Join this group to post and comment.
noobcomengg
noobcomengg • Dec 6, 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.. ^^


Share this content on your social channels -