I've been working with MARIE but I have not been guided correctly and now I am stuck
I have to write a code that would add two numbers and only print the output if the answer is <0 i.e Negative. but the code I have written it prints th output in both cases, below is my code, could anyone suggest?

    ORG 100
    Load X
    Add Y
    If, Skipcond 000
    Jump Else
    Store Z
    Else, Output
    Halt
    X, Dec 10
    Y, Dec 100
    Z, Dec 0

Looks to me like standard assembly. Cant find any documentation on this MARIE....

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.