Lines Matching +full:main +full:- +full:storage
3 .\" Copyright (C) Caldera International Inc. 2001-2002.
35 .EH 'USD:5-%''DC \- An Interactive Desk Calculator'
36 .OH 'DC \- An Interactive Desk Calculator''USD:5-%'
38 .\" ....TM 75-1271-8 39199 39199-11
41 DC \- An Interactive Desk Calculator
42 .AU "MH 2C-524" 3878
52 time-sharing system to do arbitrary-precision
54 It has provision for manipulating scaled fixed-point numbers and
58 only by available core storage.
77 time-sharing system
85 programs written in the familiar style of higher-level
92 Numbers that are typed into DC are put on a push-down
109 Blanks and new-line characters are ignored except within numbers
116 The value of the number is pushed onto the main stack.
117 A number is an unbroken string of the digits 0-9
118 and the capital letters A\-F which are treated as digits
119 with values 10\-15 respectively.
124 + \- * % ^
130 (\fB\-\fP),
145 top of the main stack is popped and stored into
157 Any character, even blank or new-line, is a valid register name.
181 is treated as a stack and its top value is popped onto the main stack.
295 Numbers are stored internally using a dynamic storage allocator.
299 The string is stored with the low-order digit at the
304 that all digits are in the range 0\-99 and that
311 The high order digit of a negative number is always \-1
312 and all other digits are in the range 0\-99.
313 The digit preceding the high order \-1 digit is never a 99.
314 The representation of \-157 is 43,98,\-1.
340 DC uses a dynamic string storage allocator
341 for all of its internal storage.
344 Associated with each string in the allocator is a four-word header containing pointers
361 Left-over strings are put on the free list.
380 forward-spacing, and backspacing strings.
388 information-containing portion of a string and a call
389 to read beyond that point returns an end-of-string indication.
399 from the main stack and their scale factors stripped off.
438 replacing the high-order configuration 99,\-1 by the digit \-1.
439 In any case, digits which are not in the range 0\-99 must
483 The result is used as the first (high-order) digit of the
534 correspond to the positions of the one-bits in the binary
547 The hexadecimal digits A\-F correspond to the numbers 10\-15 regardless of input base.
579 Bases of 8 and 16 can be used for decimal-octal or decimal-hexadecimal
609 Internal Registers \- Programming DC
619 For example, to print the numbers 0-9,
625 Push-Down Registers and Arrays
629 They involve push-down registers and arrays.
633 \fBS\fIx\fR pushes the top value of the main stack onto the stack for
635 \fBL\fIx\fR pops the stack for register \fIx\fP and puts the result on the main
637 The commands \fBs\fP and \fBl\fP also work on registers but not as push-down
648 \fB;\fIx\fR is the command to load the main stack from the array \fIx\fP.
664 The real reason for the use of a dynamic storage allocator was
682 The reason for a stack-type arithmetic design was
743 BC \- An Arbitrary Precision Desk-Calculator Language.
748 A Fast Storage Allocator,
750 Comm. ACM \fB8\fP, pp. 623-625 (Oct. 1965).