rand function, 491–499
random-access memory (RAM), 54, 55–57
random numbers, generating, 491
RANDTEST.ASM program, 493–500
read-only memory (ROM), 277
segment addresses in, 163, 165–167, 322
real mode flat model, 152, 153, 173, 175–177, 182
example program in, 228–237
flags in, 217
limits of, 240
memory data in, 207
and modular assembly, 300
and NASM-IDE, 300
prefix in, 230
sections in, 231
segment registers in, 176, 207, 229, 243, 249, 371
real mode memory, 157
real mode segmented model, 152–161, 165, 177–180, 595–596
batch files in, 300
registers in, 167, 173, 178–179, 243, 249, 371
sample program in, 240–243
sections in, 231
real-time clock support, 482
rebooting, 103
record, 483
Red Hat Package Manager (RPM), 406
redirection operator, 99
register(s). See also specific registers
and C calling conventions, 454–455, 457
and debuggers, 105, 107, 114–118, 183–191, 437–443
moving data to/from, 194–195, 199, 207
for peripherals, 66
and strings, 371–373
Unix naming convention for, 422
register addressing, 200
register data, 198–202
and bit shifting, 323
type of, 224
relays, 51
relocatable object module (.OBJ file), 88–90, 96
RESB (Reserve Byte) directive, 250, 477, 478, 487
RESD (Reserve Double) directive, 487
reserve pseudoinstructions, 486–487
RESQ (Reserve Quad) directive, 487
REST (Reserve Ten-Byte) directive, 487
RESW (Reserve Word) directive, 487
RET instruction, 265, 272–274, 280, 343, 429, 454, 505, 577
reverse video, 185
Richman, Bill, 49
ROL instruction, 316, 466, 578–579
ROR instruction, 316, 466, 580–581
rotate instructions, 316, 465–466
rotating disk device, 77–78
RULER.ASM program, 380
Ruler macro, 379–380, 382–383, 386, 387, 397