jamseyjames 0 Newbie Poster

I am trying to write a simple program using z390 IBM simulator. I want a program that prints the powers of 2 from 2^1 to 2^30. I know I need to shift and run a loop, I'm new to this language and am having a rough time. Any help would be greatly appreciated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.