Welcome to the complete and organized repository for the Computer Organization and Assembly Language (COAL) course using 8086 architecture. This repo provides structured lab tasks, practice material, debugging tools, MASM/TASM setups, and theory references essential for mastering low-level programming and computer systems architecture.
Includes all essential tools required to assemble, debug, and execute 8086 assembly language programs:
MASM.EXE,TASM.EXE,ML.EXE,LINK.EXEβ Microsoft & Turbo assemblers/linkersDEBUG.EXE,EDIT.COMβ DOS-based debugging and editing utilitiesBIN2HEX.EXE,EXE2BIN.EXE,TD.EXEβ format conversion and debugging tools
β Fully compatible for running in DOSBox or legacy virtual environments.
All lab folders (Lab 01βLab 07) are named and organized with:
.ASMfiles (assembly source).EXE&.OBJfiles (compiled outputs).PDFlab handouts and.PNGscreenshots of handwritten solutions
Each lab builds on core 8086 concepts including:
- Data movement & arithmetic instructions
- Loops, conditional branching
- String operations
- Procedures and stack
- I/O operations (IN/OUT)
- Hardware interaction via INTs
-
Lab-Final folder includes all cumulative final exam code samples like
Allout.asm,Din.asm,Binin.asm,Hexin.asm -
Mids Practice includes foundational programs like:
addsum.asmβ summation routineschrtobin.asm,chrtohex.asmβ character conversion utilitiesstring.asm,test.asmβ string handling & testing programs
Contains detailed references and solution manuals:
Computer Systems Architecture.pdfYtha Yu & Charles Marut - Assembly Language ProgrammingM. Morris Mano - Computer System Architecture (Solution Manual)- Solutions to quizzes and lab book exercises
DEBUGGER Document/β PDF guides on using DOS debug toolsMasm solution for 64-bit/β modern MASM support for 64-bit Windows setups (rare in academia)
| Topic | Covered in |
|---|---|
| Basic Instructions | Lab 1, Lab 2 |
| Loops & Conditional | Lab 2, Lab 3 |
| Procedures | Lab 4 |
| String Operations | Lab 5 |
| I/O with IN/OUT | Lab 6 |
| Advanced Programming | Lab 7, Lab Final |
| Midterm Prep | Mids Practice |
| Final Revision | Lab-Final, Generic.asm |
| Architecture Theory | COAL Materials (PDFs) |
-
Install DOSBox or use a 16-bit DOS VM.
-
Place all
.ASMand tools in a common working directory. -
Assemble:
MASM TASK1.ASM; LINK TASK1.OBJ;
-
Run in DOS:
TASK1.EXE
This repository is licensed under the MIT License.
This lab was compiled with the help of official lab instructions, faculty support, and self-practice routines for 8086 programming.