List the steps needed to add one data item into the stack
if stack is full, report error and stop
increment pointer
add data item at position ‘pointer’
List the steps needed to pop data item into a stack
if stack is empty, report error and stop output data(stack_pointer) decrement stack_pointer