Friday, September 17, 2010

8086 PROGRAMS 01: JOHNSON COUNTER

     MOV DI,1100
     MOV AX,8000
     MOV [DI],AX
L1:ADD DI,0002
     SAR AX,1
     MOV [DI],AX
     LOOP L1
L2:SHR AX,1
     MOV [DI],AX
     ADD DI,0002
     LOOP L2
HLT

1 comments:

Miracle Electronics said...

From another perspective, the Johnson counter is the combination of adecoder and a ring counter, a switch-tail ring counter to be exact.
Power transformers in India | Transformer Manufacturer in India

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes