The blog talks about variety of topics on Embedded System, 8085 microprocessor, 8051 microcontroller, ARM Architecture, C2000 Architecture, C28x, AVR and many many more. Also includes some projects that have been worked upon and also episodes to Embedded System Podcast.
Search This Blog
Saturday, April 23, 2011
Write Assembly language program To subtract 2 8-bit BCD numbers
; 2000H = 24 ; 2001H = 43
LDA 2000H; MOV B,A; LDA 2001H; SUB B; DAA; STA 2002H; HLT;
if carry not present then this program will not work..
ReplyDeleteif carry not present then this program will not work..
ReplyDelete