C programming language, 88. See also C library
command-line arguments in, 504
compiler for, 401
debugger for, 427
stack role in, 458-461
strings in, 370
and Unix, 452
Caldera Linux, 404
CALL instruction, 271-274, 280, 429, 454, 499-500, 543
carriage return (CR) character, 80, 81, 233, 255
Carry flag (CF), 212, 219, 221, 222, 324, 335, 382, 467, 533-534
case sensitivity:
of DEBUG, 112
of labels, 232
C calling conventions, 454-455, 457, 469, 511
central processing unit (CPU), 61-64, 66. See also specific CPUs
backward compatibility with, 159, 75
binary code for, 75
function of, 152
and hardware interrupts, 264-265
limitations of, 204
machine instructions for, 67-72
and peripherals, 64
registers in, 65-66, 71, 164-171
and string instructions, 369, 371, 377
CGA graphics adapter, 282, 340, 341, 344, 355
CHARSIN.ASM file, 478, 480-482
CLD instruction, 375, 376, 545
C library. See also specific library functions
date/time manipulation with, 482-491
function arguments in, 474-476
function calls in, 424, 428, 454-455, 477, 508
as Linux communications layer, 428-429, 452-454
pseudorandom numbers generated with, 491-499
robustness of, 445
symbols for elements of, 430-431, 433
text-to-number conversion with, 510-511
CMP instruction, 336, 337, 339-343, 346, 355, 546-547
code. See also source code
application of, 53
versus data, 12, 115, 189, 503
definition of, 11-12
prolog, 435
source, 76
write-only, 87
code segment, 168, 173, 178, 242
in external modules, 295, 296, 301
start label for, 245-246
columnar notation, 25
.COM files, 90, 100, 230, 238-240
command-line arguments, 436-437, 504-510
comments:
in instructions, 86-88, 228-230
in procedures, 283
in Unix, 425
Compaq, 21
compilers, 84, 414, 458. See also specific compilers
CompuServe, numeric IDs for, 25
computer(s):
components of, 62
electrical nature of, 44-45, 50-53, 71-72
memory needed for, 57-58
processing speed of, 61
Computer Lib/Dream Machines (Nelson), 71
computer programming, 2-3, 5, 66
counting from zero in, 157-158
and open source software, 91
conditional jump instructions, 272, 332-339, 355
example of, 339-344
console applications, for Windows, 180, 402
COSMAC ELF computer, 48-49, 54, 57
counting from zero, 43-44, 157-158
cpp (C preprocessor), 410
CS (code segment) register, 168, 173, 178, 206, 245, 322
current location counter, 358-359
cursor positioning, procedure for, 277-278, 288
CX register, 169, 171, 172, 203, 322, 323, 371-379, 393-396