Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc

09.06.2013 Views

XENIX Programming maketemp, 11-8, B-87 malloc, A-5 masm, 2-10 thru 2-11, B-89 thru B-91 default options, B-91 diagnostics, B-91 exit codes, B-91 files, B-90 options, B-89 thru B-90 Memory, maps, 6-22 thru 6-25 models, 2-5 thru 2-6, 2-23 thru 2-24, B-25 thru B-26 Middle model programs, 2-5 thru 2-6, B-25 thru B-26 mkstr, B-92 thru B-93 Mnemonic list, 7-12 thru 7-16 Modification requests, 5-18, B-28 thru B-29 Module(s), 2-19, 2-24 Monadic operators, B-4 monitor, B-96 mon.out, 2-11, B-96 MS-DOS environment, 2-4 Name labels, 7-4 thru 7-5 Naming files, in cc, 2-4 near, 2-16 thru 2-17 newline, B-6 nice, B-47 .nlist, 7-11 nm, B-94 thru B-95 noclobber, 8-3, B-42, B-51 noglob, B-51 nohup, B-35, B-47 %nonassoc, 10-18 thru 10-20, 10-28, 10-39 nonomatch, B-52 Null, character, 10-4 pointer, A-6 statements, 7-4 thru 7-5 Numeric labels, 7-4 thru 7-5 $o, 6-27, B-7 Object files, 2-4, 2-7 thru 2-10, 7-1, B-71 Objects, 2-6, B-26 Offset, 6-27, 7-4 onintr, B-47 only, B-33 Operands, based, 7-21 based indexed, 7-22 direct address, 7-20 immediate, 7-20 indexed, 7-21 indirect address, 7-2 2 register, 7-19 Operators, binary, 6-8 thru 6-9 in adb, 6-8 thru 6-9, B-3 thru B-4 in expressions, 7-6 left shift A-7 lex, 9-24 order of evaluation, A-ll right shift, A -7 unary, 6-8 thru 6-9 Optimization, 2-9 thru 2-10 Optional expressions, 9-6 out, 7-18 output, 9-11, 9-22, B-78 Output files in cc, 2-4 outw, 7-18 Parser, 10-1 thru 10-3, 10-9 thru 10-18, 10-26, 10-34 pascal, 2-1 7 path, 8-2 thru 8-3, B-50, B-52 p-files, 5-3, 5-7, B-60, B-67 thru B-68, B-105 Pointers, A-5 thru A-6, B-26 alignment, 3-10 data, in cc, 2-6 function, in cc, 2-6 size, in cc, 2-6, 2-23, B-26 popdef, B-85 Portability, C, A-1 thru A-13 data, A-12 source code, A-2, A-4 variable argument functions, A-9 thru A-10 %prec, 10-19 thru 10-20, 10-39 printf, 9-9, A-12 prof, 2-11, B-96 Profiling, 2-11 Index Index-7

Index Program, debugger, see adb maintainer, see make model sizes, 2-5 thru 2-6 portability, A-2 Program checking, see lint for expression order, 3-11 for infinite looping, 3-5 for local variables, 3-3 thru 3-4 for long/int assignments, 3-8 for non-portable characters, 3-7 thru 3-8 for old syntax, 3-9 thru 3-10 for pointer alignment, 3-10 for return values, 3-5 thru 3-6 for strange constructions, 3-8 thru 3-9 for types, 3-6 thru 3-7 for unreachable statements, 3-4 for unused functions, 3-2 thru 3-3 for unused returns, 3-6 for unused variables, 3-2 thru 3-3 prompt, 8-9, B-50, B-52 prs, 5-19 thru 5-20, B-97 thru B-100 data keywords, B-98 thru B-99 files, B-100 options, B-97 ps, 8-8 Pseudo-operations, see directives Pseudo-target names, 4-4 thru 4-5, 4-11 Pure-text small model, 2-5, B-25 pushdef, B-85 pushi, 7-18 putc, A-ll putchar, A-ll $q, $Q, 6-4 q-files, 5-3, B-60 QUIT, 6-4, 6-16, 8-8 :r, 6-13 thru 6-14, 6-31, B-8 :R, 6-13 thru 6-14, B-8 $r, 6-18, B-7 ranlib, 2-7, B-27, B-74, B-76, B-101 ratfor, B-102 thru B-103 Redefining, commands, 4-9 thru 4-11 macros, 4-9 thru 4-11 Redirecting 1/0, 8-7 thru 8-8, B-42 thru B-43 Index-8 XENIX Programming redo, B-36 Reduce action, 10-10 thru 10-11 regcmp, B-104 Register variables, A -8 Registers, in adb, 6-7 Regular expressions, 9-3 thru 9-4 rehash, 8-3, 8-9, B-48 REJECT, 9-13 thru 9-14, B-78 rep, 7-17 repeat, 8-9, B-48 repnz, 7-17 repz, 7-17 Reserved words, in yacc, 10-26 Retrieving s-files, 5-5 thru 5-9 ret, 7-18 reti, 7-18 return, 3-4, 3-6 %right, 10-18 thru 10-20, 10-28, 10-39 Right shift operator, 7-6 rm, 5-5 rmdel, 5-30, B-105 Rules, see grammar :s, 6-16, B-8 $s, 6-27, B-7 sact, B-106 Saving s-files, 5-7 thru 5-8, 5-12 scanf, A-12 SCCS, 1-1, 5-1 thru 5-31, B-11 thru B-15, B-3 1 thru B-32, B-59 thru B-61, B-64 thru B-69, B-73, B-105 thru B-107, B-118 command argu ments, 5-4 deltas, 5-2, see Deltas files, 4-2, 4-10, 5-l thru 5-2, see s-files flags, 5-14 thru 5-16 keywords, 5-13 thru 5-14 SIDs, 5-2, 5-7 thru 5-11, 5-21 thru 5-22, B-28, B-105 working files, 5-3 sccsfile, 5-25, B-14 sccsdiff, 5-31, B-107 Scripts, in adb, 6-26 in csh, 8-11 Segment directive, 7-9 thru 7-10

<strong>XENIX</strong> Programming<br />

maketemp, 11-8, B-87<br />

malloc, A-5<br />

masm, 2-10 thru 2-11, B-89 thru B-91<br />

default options, B-91<br />

diagnostics, B-91<br />

exit codes, B-91<br />

files, B-90<br />

options, B-89 thru B-90<br />

Memory,<br />

maps, 6-22 thru 6-25<br />

models, 2-5 thru 2-6, 2-23 thru 2-24,<br />

B-25 thru B-26<br />

Middle model programs, 2-5 thru 2-6, B-25<br />

thru B-26<br />

mkstr, B-92 thru B-93<br />

Mnemonic list, 7-12 thru 7-16<br />

Modification requests, 5-18, B-28 thru<br />

B-29<br />

Module(s), 2-19, 2-24<br />

Monadic operators, B-4<br />

monitor, B-96<br />

mon.out, 2-11, B-96<br />

MS-DOS environment, 2-4<br />

Name labels, 7-4 thru 7-5<br />

Naming files, in cc, 2-4<br />

near, 2-16 thru 2-17<br />

newline, B-6<br />

nice, B-47<br />

.nlist, 7-11<br />

nm, B-94 thru B-95<br />

noclobber, 8-3, B-42, B-51<br />

noglob, B-51<br />

nohup, B-35, B-47<br />

%nonassoc, 10-18 thru 10-20, 10-28, 10-39<br />

nonoma<strong>tc</strong>h, B-52<br />

Null,<br />

character, 10-4<br />

pointer, A-6<br />

statements, 7-4 thru 7-5<br />

Numeric labels, 7-4 thru 7-5<br />

$o, 6-27, B-7<br />

Object files, 2-4, 2-7 thru 2-10, 7-1, B-71<br />

Objects, 2-6, B-26<br />

Offset, 6-27, 7-4<br />

onintr, B-47<br />

only, B-33<br />

Operands,<br />

based, 7-21<br />

based indexed, 7-22<br />

direct address, 7-20<br />

immediate, 7-20<br />

indexed, 7-21<br />

indirect address, 7-2 2<br />

register, 7-19<br />

Operators,<br />

binary, 6-8 thru 6-9<br />

in adb, 6-8 thru 6-9, B-3 thru B-4<br />

in expressions, 7-6<br />

left shift A-7<br />

lex, 9-24<br />

order of evaluation, A-ll<br />

right shift, A -7<br />

unary, 6-8 thru 6-9<br />

Optimization, 2-9 thru 2-10<br />

Optional expressions, 9-6<br />

out, 7-18<br />

output, 9-11, 9-22, B-78<br />

Output files in cc, 2-4<br />

outw, 7-18<br />

Parser, 10-1 thru 10-3, 10-9 thru 10-18,<br />

10-26, 10-34<br />

pascal, 2-1 7<br />

path, 8-2 thru 8-3, B-50, B-52<br />

p-files, 5-3, 5-7, B-60, B-67 thru B-68,<br />

B-105<br />

Pointers, A-5 thru A-6, B-26<br />

alignment, 3-10<br />

data, in cc, 2-6<br />

function, in cc, 2-6<br />

size, in cc, 2-6, 2-23, B-26<br />

popdef, B-85<br />

Portability,<br />

C, A-1 thru A-13<br />

data, A-12<br />

source code, A-2, A-4<br />

variable argument functions, A-9<br />

thru A-10<br />

%prec, 10-19 thru 10-20, 10-39<br />

printf, 9-9, A-12<br />

prof, 2-11, B-96<br />

Profiling, 2-11<br />

Index<br />

Index-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!