home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol166 / bsum.mkv < prev    next >
Encoding:
Text File  |  1984-04-29  |  436 b   |  37 lines

  1.  
  2. [BSUM.MKV]
  3. [sum two binary numbers]
  4.  
  5. [[
  6. A Markov Algorithm which will sum two binary
  7. numbers presented in the form a+b=; for example
  8.  
  9.           111110+011=
  10.  
  11. Each successive keystroke will show another step
  12. in the Algorithm until the final sum is completed
  13. and the auxiliary symbols are gone.
  14. ]]
  15.  
  16.  
  17.  
  18. (a0,0a)
  19. (a1,1a)
  20. (b0,0b)
  21. (b1,1b)
  22. (0*,1)
  23. (1*,*0)
  24. (*,1)
  25. (0a,=0)
  26. (0b,=1)
  27. (1a,=1)
  28. (1b,*=0)
  29. (0+,+a)
  30. (1+,+b)
  31. (+a,0=+)
  32. (+b,1=+)
  33. (+,)
  34. (=,)
  35.  
  36. [end]
  37.