When the clerk opened the cash drawer , the man pulled out a gun and asked for all the cash in the register , which the clerk promptly provided .