Sideway
output.to from Sideway
Draft for Information Only

Content

MS DOS Command: STACKS
 Description
 Syntax
 Parameters
 Remarks
  Default settings
  Special cases for stack allocation
  Increasing the value of STACKS
 Examples

MS DOS Command: STACKS

Reference from Microsoft MS-DOS cmd help

Description

Supports the dynamic use of data stacks to handle hardware interrupts. You can use this command only in your CONFIG.SYS file.

Syntax

STACKS=n,s

Parameters

n Specifies the number of stacks. Valid values for n are 0 and numbers in the range 8 through 64.
s Specifies the size (in bytes) of each stack. Valid values for s are 0 and numbers in the range 32 through 512.

Remarks

Default settings

The default settings for the STACKS command are as follows:

ComputerStacks
IBM PC, IBM PC/XT, IBM PC-Portable0,0
Other9,128

Special cases for stack allocation

Upon receiving a hardware interrupt, MS-DOS allocates one stack from the specified number of stacks. When you specify 0 for the n and s values, MS-DOS allocates no stacks. If the values are 0, each running program must have enough stack space to accommodate the computer's hardware interrupt drivers. Many computers operate correctly, saving some memory for programs, with n and s values of 0. If, however, your computer becomes unstable when you set these values to 0, return to the default values.

Increasing the value of STACKS

If the STACKS values are not equal to 0,0 and you see a "Stack Overflow" or "Exception error 12" message, increase the number or size of the stacks.

Examples

To allocate 8 stacks of 512 bytes each for hardware-interrupt handling, add the following command to your CONFIG.SYS file:

stacks=8,512


©sideway

ID: 110700263 Last Updated: 7/30/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Travel 18

Reference 79

Computer

Hardware 254

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019