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 SG3525 PWM Controller - Explanation and Example: Circuit Diagram / Schematic of Push-Pull Converter

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

Using the TLP250 Isolated MOSFET Driver - Explanation and Example Circuits