Science, asked by sambarajurajini1605, 1 year ago

What tells a computer how to interact with a peripheral device?

Answers

Answered by StarGazer001
0
hey mate here is your answer-
In older architectures, peripherals were accessed via a separate mechanism to memory access with special I/O instructions. On x86, there were "in" and "out" instructions for transferring bytes between the CPU and a peripheral. Peripherals were given addresses, for example 0x80 for the keyboard. Simplifying a lot, doing "in 0x80" would read a byte from the keyboard controller to CPU register "AL".

hope this helps you
Similar questions