"IBM personal computer assembly language tutorial" - читать интересную книгу автора (Auerbach J.)bility need to be considered: machine portability, operating system porta-
bility (for example, the ability to assemble and run code under CP/M 86) and DOS version portability (the ability for a program to run under older versions of DOS>. Most of the functions originally offered in DOS 1.0 were direct descendents of CP/M functions; there is even a compatibility interface so that programs which have been translated instruction for instruction from 8080 assembler to 8086 assembler might have a reasonable chance of running if they use only the core CP/M function set. Among the most generally useful in this original compatibility set are IBM PC Assembly Language Tutorial 12 09 -- print a full message on the screen 0A -- get a console input line with full DOS editing 0F -- open a file 11 -- find first file matching a pattern 12 -- find next file matching a pattern 13 -- erase a file 16 -- create a file 17 -- rename a file 1A -- set disk transfer address The next set provide no function above what you can get with BIOS calls or more specialized DOS calls. However, they are preferable to BIOS calls when portability is an issue. 00 -- terminate execution 01 -- read keyboard character 02 -- write screen character 03 -- read COM port character 04 -- write COM port character 05 -- print a character 06 -- read keyboard or write screen with no editing The standard file I/O calls are inferior to the specialized DOS calls but have the advantage of making the program easier to port to CP/M style sys- tems. Thus they are worth mentioning: 14 -- sequential read from file |
|
© 2025 Библиотека RealLib.org
(support [a t] reallib.org) |