The cap command makes the text in the workspace buffer capital case
That means that the 1st letter is uppercase and the rest of the text is lowercase. No other registers in the machine virtual machine are affected by this command.
see also: lower and upper
lower
upper