Index
A
AAA instruction, 384-387, 535
AAD instruction, 387
AAM instruction, 387
AAS instruction, 387
Abrash, Michael, 57, 216, 525
ADC instruction, 201, 536-537
adder, 69-70
ADD instruction, 385, 475, 538-539
address. See also memory addressing
for bits, 59
for bytes, 61
for code sequence, in DOS, 257-265
definition of, 11, 153-154
for memory, 13, 55-56, 157-163, 177, 425
of peripheral, 65
start, 245, 291
in text file hex dump, 109
of variable, versus contents, 235, 470
address lines, 153, 154, 158
address pins:
in CPU chips, 63
in memory chips, 56, 57, 59
in peripherals, 64
ALINK, 94, 102, 246-247, 597, 601
Anderton, Robert, 120, 601
AND instruction, 318-320, 326, 344-346, 540-541
APL language, 267-268
arguments:
command-line, 436-437, 504-510
in macros, 305, 306, 383
numeric, 510-511
for printf, 474-476
ASCII characters, 80, 109-110, 185-186
displaying, 388-396
random generation of, 498-499
in strings, 233, 384-387
ASM directory, 92-94, 122-123, 127
.ASM files, 96, 127, 414
in modular assembly, 101, 288
in NASM-IDE text editor, 136
for subroutines, 518
Assemble command, 220
assembler(s), 84, 85, 414. See also specific assemblers
comparison of, 88, 91
in DEBUG, 107, 194-196
directives to, 224, 234
and errors, 96-100
for general calculations, 389-391
for GNU, 409, 410, 413, 421
invoking, 238
and linkers, 102
and macros, 301-302, 308, 382-383
and .OBJ files, 88-90
open source, 92
operation of, 96
portable, 421
syntax of, 210
assembly language:
beginner''''''''s reference to, 211-217, 531-593
Boolean logic in, 318-322
command-line arguments in, 504
comments in, 86-88, 228-230
definition of, 84-85, 152, 421
for hardware interrupt service routines, 265
IDE for, 120
instructions in, 85-87, 197, 368, 369 (see also instructions)
macros in, 301-314
for older computers, 339
problems in, 114, 115
procedures in, 101, 270-276, 301 (see also procedures)
signed arithmetic in, 337
strings in, 370-372
variables in, 235-236 (see also variables)
video toolkit for, 397-398
assembly language programming, 9-13
approach to, 73-76, 228, 427, 448-450, 525-526, 529
ASM directory for, 92-94
comprehensibility in, 228
debugging in (see DEBUG; gdb)
executable program files in, 90, 101
file types in, 96
hexadecimal in, 40, 46
for Linux, 399-405, 428-429
as machine instructions, 72, 193
process of, 94-106
in protected mode, 180
resources for, 527-529, 597-598
assembly language program sample (DOS), 228-240
and DOS services, 255-264
external modules in, 292-299
macro library in, 312-314
procedures in, 270-271, 288
for real mode segmented model, 240-247
assembly language program sample (Linux), 455, 460-461, 465, 469-470
assembly-time math, 391-392
ASSUME directive, 244
AT&T:
mnemonics used by, 421-424, 448
syntax from, 413, 422-427
attribute, of character, 185
attribute byte, 185, 382, 394
Auxiliary carry flag (AF), 218, 222, 387, 533
AX register, 169-172, 203, 207, 322, 371-375, 381