I'm following the assembly language tutorials here at:
The Art of Assembly Language
http://maven.smith.edu/~thiebaut/ArtOfA ... ofasm.html
I've studied boolean algebra, canonical forms and karnaugh maps in school, I'm just wondering when do you guys actually use this stuff?
Canonical Forms and such
- zaleschiemilgabriel
- Member
- Posts: 232
- Joined: Mon Feb 04, 2008 3:58 am
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Well .. what do you mean by useless ... it is very usefull ... u mean the SOP and POS forms .... This is because u havent done enough experiments in digital electronics .... KMAPs does help in reducing the number of gates needed ... Although they are not directly related to ASM
programming ... a good knowledge of boolen algebra is required in making even trivial digital circuits .... or before understanding more advanced concepts .... Just read the Morris Mano book or the Floyd book... i learned it during my second year .... Just consider implementing an n bit adder or counter using basic gates ...
programming ... a good knowledge of boolen algebra is required in making even trivial digital circuits .... or before understanding more advanced concepts .... Just read the Morris Mano book or the Floyd book... i learned it during my second year .... Just consider implementing an n bit adder or counter using basic gates ...
These become of use when designing digital circuits. Assembler language is far too high level for karnaugh maps to have any use! I would have thought, having learned about karnaugh maps, you'd know what they're used for?I've studied boolean algebra, canonical forms and karnaugh maps in school
They're extremely effective in lowering the number of gates needed in a device, they're foolproof and can often come out with better solutions than your own brain. In certain circumstances you brain can think "Ah ha! This part requires an XOR gate", where a Kmap could tell you that it could be done with 6 NAND gates (example).
Each piece of knowledge you learn can only be applied to that spectrum of engineering for which it was designed. KMaps can no more be applied to assembler language programming than calculus can be applied to writing a "hello world" app in PHP.
If you follow the second poster's line of thought, one might as well learn nothing, and have the computer do everything for you. The problem then becomes: "Who makes the next computer?" or "Who programs the next version of PHP etc".
Think about it.
James
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
James M wrote
Absolutely spot on !!!They're extremely effective in lowering the number of gates needed in a device, they're foolproof and can often come out with better solutions than your own brain. In certain circumstances you brain can think "Ah ha! This part requires an XOR gate", where a Kmap could tell you that it could be done with 6 NAND gates (example).
-
- Posts: 11
- Joined: Sun Dec 16, 2007 11:32 am
- Location: Wisconsin, USA
Almost certainly yes, depending on exactly how simple the device was. There are already seven-segment decoders available to buy which have a reasonable amount of logic in them (they just take a BCD input).usrx wrote:yea that clarifies it for me then. So all that stuff really only applies to designing circuits and not designing an x86-OS.
So I would then need to know it if I wanted to for example use seven-segment lcd's to create an electronic dartboard score-keeping device then?