This project demonstrates serial communication between the 8086 microprocessor and the 8251 USART using assembly language.
A Proteus simulation is used with a virtual terminal for real-time input/output.
- Serial communication using 8251 USART
- ASCII input handling
- Input validation (numeric + character matching)
- Partial string verification
- Dynamic output generation
- Error handling with feedback message
- Continuous operation (infinite loop)
- System initializes 8251 USART (asynchronous mode).
- User enters a number (0–9).
- Based on input:
0→ prints full string (HELLO WORLD)n→ checks nextncharacters
- If input matches → sends remaining characters
- If mismatch → displays
" ERROR "
- 8086 Microprocessor
- 8251 USART
- Virtual Terminal for I/O
- Serial communication fully simulated
main.asm→ Assembly programserial_communication_with_8251.pdsprj→ Proteus simulation file
- Open project in Proteus
- Load assembled
.hexfile into 8086 - Run simulation
- Use virtual terminal to provide input
Input: 5HELLO Output: WORLD
Input: 3ABC Output: ERROR