mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 05:14:06 -06:00
701 B
701 B
IO Instruction
Def:: I/O instructions enables computer's ==I/O== to give and recieve data from the Periferal Devices
- Every microprocessor has instruction to give and read io device information.
- For this reason, 8086 has ==IN== and ==OUT== instruction to recieve and give repectavly.
- The port number is specfied along with IN and OUT instruction.
- Both instruction uses register ==AL or AX== to ==transfer data==.
- The IO address is stored ::: in DX register.
1. Classification According to transfering data type.
There are two types of I/O instruction
- Those that transfer single item
- Thos that transfer a string of item