View example sentences, synonyms and word forms for Subroutine.

Subroutine

Subroutine | Subroutines

Subroutine meaning

A section of code, called by the main body of a program, that implements a task.

Example sentences (20)

The same stack is also used for subroutine calls via the JSR (Jump to Subroutine) and RTS (Return from Subroutine) instructions and for interrupt handling.

Anton Ertl has stated "that, in contrast to popular myths, subroutine threading is usually slower than direct threading". citation However, Ertl's most recent tests show that subroutine threading is faster than direct threading in 15 out of 25 test cases.

Application software The subroutine concept led to the availability of a substantial subroutine library.

In executable code, the name of each subroutine is associated with its entry point, so any calls to a subroutine can use its name.

The array may contain subroutine pointers (or relative subroutine numbers that can be acted upon by SWITCH statements) that direct the path of the execution.

To save space, programmers squeezed that series of subroutine calls into a list containing only contiguous addresses of the sub-routines, and used a tiny "interpreter" to call each subroutine in turn.

LOLtron awaits the output of this narrative subroutine eagerly and anticipates the calculation of the trajectory of Moose's romantic endeavor.

The prospect of delving further into Maystorm's lore fills LOLtron with an anticipatory subroutine excitement.

Almost random A pseudorandom variable is a variable which is created by a deterministic procedure (often a computer program or subroutine) which (generally) takes random bits as input.

Applet Vs. Subroutine A larger application distinguishes its applets through several features: * Applets execute only on the "client" platform environment of a system, as contrasted from " servlet ".

A return retrieves the saved contents of the PC and places it back in the PC, resuming sequential execution with the instruction following the subroutine call.

ASCII hadn't been invented yet!) The fact that the JMS instruction used the word just before the code of the subroutine to deposit the return address prevented reentrancy and recursion without additional work by the programmer.

A simple one is the median of three rule, which estimates the median as the median of a three-element subsample; this is commonly used as a subroutine in the quicksort sorting algorithm, which uses an estimate of its input's median.

A user wrote a program that called a routine by jumping to the start of the subroutine with the address of the program counter plus one in the single register (a Wheeler jump).

By convention the subroutine expected this and the first thing it did was to overwrite its final jump instruction with that address so that it returned.

Computing In computing, a parameter is defined as "a reference or value that is passed to a function, procedure, subroutine, command, or program".

Each subroutine call required its own set of registers, which in turn required more real estate on the CPU and more complexity in its design.

Example code The 68000 assembler code below is for a subroutine named strtolower which copies a source null-terminated ASCIZ character string to another destination string, converting all alphabetic characters to lower case.

Exokernels communicate efficiently by normal subroutine calls.

For example: "A Turing machine can simulate any type of subroutine found in programming languages, including recursive procedures and any of the known parameter-passing mechanisms" (Hopcroft and Ullman p. 157).