Hey guys I am new at programming world and could really use some tips about marie simulator
I need to write the following program.
The program I must write has to take numbers from 0-100 if the number is <50 prints F and >49, <101 print P and must stop at 10 results. If i am correct i need loops.
This is what I have written so far.
org 100
clear
input
store x
skipcond 400
load y
output
input
store c
skipcond 400
load z
output
x, dec 0
y, hex 46
c, dec 0
z, hex 50
I need to write the following program.
The program I must write has to take numbers from 0-100 if the number is <50 prints F and >49, <101 print P and must stop at 10 results. If i am correct i need loops.
This is what I have written so far.
org 100
clear
input
store x
skipcond 400
load y
output
input
store c
skipcond 400
load z
output
x, dec 0
y, hex 46
c, dec 0
z, hex 50