Calculate Min Max and Average Using Assembly

This assembly program reads in 8, 8-bit numbers and is able to calculate the min, max, and average of those numbers.  The code has been optimized for speed, but if compact code is what you want, by all means use a looping structure.  I should mention that this program is an introduction to assembly and runs on the 8085 simulator.  I will however, be posting Verilog code that effectively creates the Intel 8085 and which, will also accept a precompiled hex file via RS232!  That will be in a couple months however (time permitting).  For now, enjoy your nice and easy Assembly example.

COMP-E

~ we do it with NAND gates

This entry was posted in Assembly, comp-e, forum and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>