Assembly Program Microcontroller 8051

1. BCD 2 HEX Conversion..





Output :

  


Here "fe", HEX equivalent  of BCD data "254" is obtained in register r0 after the execution of this program.

Comments

Popular posts from this blog

8051 INTERFACING WITH LED, SWITCH, SSD AND KEYPAD

ANALOG to DIGITAL CONVERTER with IC ADC0804

Using the high-low side driver IR2110 - explanation and plenty of example circuits