Skip to content

Instantly share code, notes, and snippets.

@LTe
Created June 9, 2010 17:53
Show Gist options
  • Save LTe/431867 to your computer and use it in GitHub Desktop.
Save LTe/431867 to your computer and use it in GitHub Desktop.
generujKod("ZERO", -1);
context_check("STORE", "xA");
context_check("LOAD", $1);
context_check("STORE", "xB");
context_check("LOAD", $3);
context_check("STORE", "xC");
context_check("LOAD", "#jeden");
context_check("STORE", "xD");
context_check("ADD", "xD");
context_check("SUB", "xB");
generujKod("JGE", generujEtykiete()+10);
context_check("LOAD", "xC");
context_check("ADD", "xC");
context_check("STORE", "xC");
context_check("LOAD", "xD");
context_check("ADD", "xD");
context_check("STORE", "xD");
context_check("LOAD", "xD");
context_check("ADD", "xD");
generujKod("JUMP", generujEtykiete()-10);
context_check("LOAD", "xB");
context_check("SUB", "xD");
context_check("STORE", "xB");
context_check("LOAD", "xC");
context_check("ADD", "xA");
context_check("STORE", "xA");
generujKod("ZERO", -1);
context_check("ADD", "xB");
generujKod("JZ", generujEtykiete()+4);
context_check("LOAD", $3);
context_check("STORE", "xC");
generujKod("JUMP", generujEtykiete()-25);
context_check("LOAD", "xA");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment