Uploaded by mah salam

Doc287

advertisement
In the figure, the array STACK [1:7] represents a stack containing the four elements
𝑅, 𝑆, 𝑉, and G. In most cases, the maximum number of items that can be stored in a stack,
represented by the array notation STACK [1: 𝑛 ], is 𝑛. If more than 𝑛 elements are being
pushed into the stack simultaneously, a signal or warning labelled STACK FULL must be
generated.
Download