Re: NAND
I'm playing with the MIPS assembly language. There is no NAND instruction
in the MIPS ISA, just AND, NOR, OR and XOR. How can I implement the NAND
operation efficiently using the present instructions?
You have AND, you have OR and you have NOR.
Maybe you also have NOT.
If you don´t, figure out how to emulate NOT using NOR or XOR.
This should be sufficient to find out _several_ ways of implementing
NAND.
.
- References:
- NAND
- From: Christian Christmann
Relevant Pages
- Re: NAND
... in the MIPS ISA, just AND, NOR, OR and XOR. ... How can I implement the NAND ... operation efficiently using the present instructions? ... (alt.lang.asm) - Re: Boolean query parsing.... what tools, examples, suggestionss
... > An operator is like AND, OR, XOR, NAND ... >> How do you create a tree... ... I mean what data structure should be used ... (comp.lang.java.programmer) - Re: Boolean query parsing.... what tools, examples, suggestionss
... > An operator is like AND, OR, XOR, NAND ... >> How do you create a tree... ... I mean what data structure should be used ... (comp.lang.java.programmer) - Re: OT: Riddle for the bright minds here
... |> You can build XOR out of NAND, which were the early and most common TTL ... NAND lent itself readily with TTL. ... but that is wasting the gates and slows the system. ... | it with plain AND and OR, afaik. ... (sci.physics.relativity) - Re: OT: Riddle for the bright minds here
... > You can build XOR out of NAND, which were the early and most common TTL ... NAND lent itself readily with TTL. ... High voltage at the ... but that is wasting the gates and slows the system. ... (sci.physics.relativity) |
|