How to run program without Operating System?

This is one of the fascinating questions that came to my mind while i was in college: