Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program zestawS3;
- #include("stdlib.hhf");
- static
- a: int8:=-100;
- b: int8:=76;
- begin zestawS3;
- console.cls();
- stdout.put("a(10)=", a, nl, "a(16)=");
- stdout.puth8(a);
- stdout.newln();
- stdout.newln();
- stdout.put("b(10)=", b, nl, "b(16)=");
- stdout.puth8(b);
- stdout.newln();
- xor(al, al);
- mov(b,al);
- sub(al, a);
- stdout.put("Odejmowanie (a-b) ",nl ,"------------ ",nl, a, "(10)",nl, "---(Konwersja)--- ",nl);
- stdout.puth8(a);
- stdout.put("(16)");
- stdout.newln();
- end zestawS3;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement