daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Dec 17th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. program zestawS3;
  2. #include("stdlib.hhf");
  3. static
  4.  
  5. a: int8:=-100;
  6. b: int8:=76;
  7.  
  8. begin zestawS3;
  9. console.cls();
  10.  
  11. stdout.put("a(10)=", a, nl, "a(16)=");
  12. stdout.puth8(a);
  13. stdout.newln();
  14. stdout.newln();
  15. stdout.put("b(10)=", b, nl, "b(16)=");
  16. stdout.puth8(b);
  17. stdout.newln();
  18.  
  19. xor(al, al);
  20. mov(b,al);
  21. sub(al, a);
  22.  
  23. stdout.put("Odejmowanie (a-b) ",nl ,"------------ ",nl, a, "(10)",nl, "---(Konwersja)--- ",nl);
  24. stdout.puth8(a);
  25. stdout.put("(16)");
  26.  
  27. stdout.newln();
  28. end zestawS3;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top