This repository contains Assembly language code and instructions for the Microprocessor and Microcontroller lab sessions. The code is designed to run in a Linux environment and provides hands-on practice with fundamental concepts.
Ensure you have the following installed on your Linux-based system:
- NASM (Netwide Assembler)
- LD (GNU Linker)
- A Linux-based operating system
Follow these steps to assemble, link, and execute the program:
- Assemble the code:
nasm -f elf hello.asm -o hello.o
- Link the object file:
ld -m elf_i386 -s -o hello hello.o
- Run the executable:
./hello
Note: Ensure that your system supports 32-bit binaries if you encounter compatibility issues.
- Each lab exercise is organized in its respective directory.
- Exercises are sequentially numbered for better understanding.
- The
LAB_Bfolder contains additional lab work and sample codes.
We welcome contributions! If you find any issues or have suggestions for improvements:
- Open an issue in this repository.
- Submit a pull request with a clear description of the changes.
This project is licensed under the MIT License - see the LICENSE file for details.