Network Device Interrupts A Computer

If the network device interrupted a computer, then set the PC to 3. More formally,

if interrupt at computer: x index: 2 time: t = 1, then the PC at computer x and time (t + 1) = 3

The network device is connected to interrupt cell #2. The computer programmer should ensure that the network interrupt processing instructions begin at instruction #3.

For example, if interrupt at computer: "A" index: 2 time: 14 = 1, then the PC at computer "A" and time (14 + 1) = 3

Thus, the PC at computer "A" and time 15 = 3

Try running the simulator below to see Computer A execute instruction #3 after the network device has completed copying values from computer B to computer A.

Time: 0
LW Computer IO Simulator

Comments

Please log in to add comments