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

Using the TLP250 Isolated MOSFET Driver - Explanation and Example Circuits

N-Channel MOSFET High-Side Drive: When, Why and How?

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