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

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

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

Using the SG3525 PWM Controller - Explanation and Example: Circuit Diagram / Schematic of Push-Pull Converter