Overview
This Assembly project demonstrates how to create and use procedures in x86 Assembly language. Built using Irvine32, it guides users through reading inputs, performing addition and subtraction, managing cursor positions on the screen, and responding to keyboard input. The project features clean separation of logic using multiple custom procedures and leverages structured looping with no hardcoded inputs.
Features
- Reads two integer inputs from the user
- Displays sum and difference results using procedures
- Cursor control using
gotoxyvia thelocateprocedure - Screen clearing and pause with keypress
- Modular code design with reusable procedures
Demo
Below is a placeholder for a potential demo image or animation:
Sample Code
input PROC
call locate
mov edx, OFFSET prompt1
call WriteString
call ReadInt
mov first, eax
call locate
mov edx, OFFSET prompt2
call WriteString
call ReadInt
mov second, eax
ret
input ENDP
Explore the Code
Check out the full project on GitHub, or download it directly.
What I Learned
This project deepened my understanding of low-level programming and how computers handle procedures, memory, screen output, and user input. Writing logic in Assembly helped solidify my grasp of the stack, registers, and control flow without relying on high-level abstractions.