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
Monday, April 4, 2011
Program to find mINImum number in an array
LXI H, 2000H; INITIALIZE STARTING ADDRESS MVI C, 10H; SIZE OF ARRAY IS 10 XRA A; BACKCMP M; COMPARE WITH MEMORY JC SKIP; MOV A, M; IF NUMBER< MAX INTERCHANGE SKIPINX H; DCR C; JNZ BACK; STA 1FFFH; HLT;
No comments:
Post a Comment