Code Unleash
8086 Assembly programming
Mu-P 8086 programs: This zip
file contains minimally interactive 8086 assembly programs-
- add2bcd: Reads and adds two 2-digit BCD numbers.
- addNbcd2: Reads and adds N 2-digit BCD numbers.
- addNbcd4: Reads and adds N 4-digit BCD numbers.
- addupbcd: Reads and adds 2 unpacked BCD numbers.
- bcd2asc: Reads a bcd number and converts to ascii.
- asc2bcd: Reads a ascii number and converts to bcd.
- allascii: Prints all ascii characters on the screen.
- clock: Displays current time
- datetime: Displays current time and date
- sort: Reads N bcd numbers, sorts them using bubble sort and prints the sorted list.
- search: Reads a string and searches for a character in it.
- indalu: A minimal 8-bit ALU to demonstrate use of indirect addressing in a way similar to that of function pointers!
- The zip also contains a library of 3 utilities-
- std.inc: contains some frequently used constants and macros
- read.obj & read.inc: for basic routines & macros for reading input data
- print.obj & print.inc: for basic routines & macros for printing output data
- make.bat: a batch file for assembling and linking the assembly programs (and the library files) using tasm and tlink.
All these were assembled using tasm, linked using tlink and debugged using debug.
Home