sup is short for wassup, which is short for what's up, which is short for what is up.
It originated from 2000s teen slang
Sometimes mistaken for "shut up"
it is an interjection, and is used as an informal greeting, such as "what's up?"
sup man
sup. Did you get the ketchup packets?