Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

marie assembly language

Hello, if so one can please help me with this program in Marie assembly language.

if (A-B) <= 0 then
print 2 * B
else
print A + B

The program should read in 2 numbers. Then calls a subroutine to carry out the statement above. Once control is returned from subroutine to the main program, the latter then prints the result to the screen

Thanks


Sign In or Register to comment.