Does word "come" have the same meaning in the following two sentences?

Come into the room.

I was standing on the corner when Nick came up and asked for a cigarette.
the same meaning