![]() music |
![]() | OSdata.com |
This web page examines input/output instructions in assembly language. Specific examples of instructions from various processors are used to illustrate the general nature of assembly language.
Input/Output (I/O) instructions are used to input data from peripherals, output data to peripherals, or read/write input/output controls. Early computers used special hardware to handle I/O devices. The trend in modern computers is to map I/O devices in memory, allowing the direct use of any instruction that operates on memory for handling I/O.
Information on the devices for the hypothetical MIX processors input/output instructions.
| unit number | peripheral | block size | control |
|---|---|---|---|
| t | Tape unit no. i (0 | 100 words | M=0, tape rewound; M < 0, skip back M records; M > 0, skip forward M records |
| d | Disk or drum unit no. d (8 | 100 words | position device according to X-register (extension) |
| 16 | Card reader | 16 words | |
| 17 | Card punch | 16 words | |
| 18 | Printer | 24 words | IOC 0(18) skips printer to top of following page |
| 19 | Typewriter and paper tape | 14 words | paper tape reader: rewind tape |
OSdata.com is used in more than 300 colleges and universities around the world |
Click here for our privacy policy.
| previous page | next page |

This web site handcrafted on Macintosh
computers using Tom Benders Tex-Edit Plus
and served using FreeBSD
.
Names and logos of various OSs are trademarks of their respective owners.
Copyright © 2000, 2001 Milo
Created: February 21, 2001 (from machcode.htm)
Last Updated: February 21, 2001
I do the news as an unpaid volunteer for KOCI 101.5 FM, Newport Beach/Costa Mesa (also available on the web)
| previous page | next page |