Post Reply 
Swiss Micros DM16L: Advanced Boolean and Factorial (up to 20)
04-18-2021, 03:28 PM
Post: #1
Swiss Micros DM16L: Advanced Boolean and Factorial (up to 20)
The program listing, for the Swiss Micros DM16L and Hewlett Packard HP 16C,  will assign the following functions to the labels:

A:  NAND:   nand(x, y) = not(x and y)
B:  NOR:   nor(x, y) =  not(x or y)
C:  XNOR:  xnor(x, y) = (not x and not y) or (x and y)
D:  Implication:  y → x = (not y) or x
E:  Factorial:  x!  (x is a positive integer up to 20, 64 word size

Programs are listed here: http://edspi31415.blogspot.com/2021/04/s...n-and.html
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)