End subroutine or data segment.
A subroutine definition ends with the ends keyword.
subroutine doStuff // subroutine body goes here ends
A data segment also ends with the ends keyword.
dseg segment // data definitions go here dseg ends