Publish your: Interview/placement Paper or an Ebook you have


SELECT YOUR BRANCH

PLACEMENT PAPERS OF




HEX to binary conversion

Problem Statement :
 Convert an 8 bit hex no to its binary form & store in memory

Source Program:

    * LXI H, 4150 : Initialize memory pointer
    * MVI B, 08 : count for 8-bit
    * MVI A, 54
    * LOOP : RRC
    * JC LOOP1
    * MVI M, 00 : store zero it no carry
    * JMP COMMON
    * LOOP2: MVI M, 01 : store one if there is a carry
    * COMMON:  INX H
    * DCR B : check for carry
    * JNZ LOOP
    * HLT : Terminate the program



Spread The Love, Share Our Article


Related Posts


Be the first to comment on "HEX to binary conversion"

Most Popular posts

Trending posts


About Us

Free engineering materials and courseware for all is our motto . Besides we provide free Placement Orientation and Training.
Move ahead >>>>>
Email : careerncampus@gmail.com

Publish your


Keep Yourself Updated

Get the latest posts delivered on your mail box for free. Enter your email address below and press submit

You can also keep in touch via

Subscribe via RSS Feed Subscribe via Google SMS Channel


Recent Posts

Facebook



Our Partners : link directoryWeb Directory Visit blogadda.com to discover Indian blogsAcademicsTop Blogs