vendredi 17 septembre 2021

MARIE Assembly if else

Struggle with MARIE Assembly. Needing to write a code that has x=3 and y=5, is x>y then it needs to output 1, if x<y it needs to output one, I have the start but don't know how to do if else statements in MARIE

LOAD X SUBT Y SKIPCOND 800 JUMP ELSE OUTPUT HALT

Aucun commentaire:

Enregistrer un commentaire