Home
About
Blogs
Home
Mega Menu
Facebook
Random Posts
3/random/post-list
Popular Posts
Contactor Inner Views
March 10, 2021
June 24, 2013
June 24, 2013
Contact form
Name
Email
*
Message
*
Home
Dhruvang Suthar
March 08, 2012
HEX to binary conversion
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
Post a Comment
0 Comments
Social Plugin
Certificate of Completion
Certificate No.CERT001561786-EMI
🇮🇳Welcome To My Blogs.🇮🇳
🥇BE-Electrical🥈 PGDM-Marketing. 🥉Data Scientists. 🏅MEP-Electrical.
Total Pageviews
This Page is a little effort to make you Sharing of some own materials .This is just a Kick-Start to make the aware of Practical World !!! Best of luck.-DHRUVANG SUTHAR
Close Menu
0 Comments