Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Boolean

Name: Anonymous 2010-09-26 15:26

So, how much does /prog/ know about boolean logic?

I'll start you all off easy, what is the equivalent of
xor, eax eax?

(Don't give me shit about that being a machine code sample)

Name: Anonymous 2010-09-26 15:33

0

Name: Anonymous 2010-09-26 15:34

What are you talking about, programming has nothing to to do with boolean logic whatsoever.

Name: Anonymous 2010-09-26 15:53

Less of this.

Name: Anonymous 2010-09-26 15:55

sage

Name: Anonymous 2010-09-26 16:03

I'll start you all off easy, what is the equivalent of
xor, eax eax?

That doesn't mean anything.

Name: Anonymous 2010-09-26 16:33

This is so gay

Name: Anonymous 2010-09-26 16:53

>>1
(set! eax 0)

Name: Anonymous 2010-09-26 18:34

eax ^ eax

Name: Anonymous 2010-09-26 19:30

>>6
it's called polish notation

>>2
correct

>>1
IHBT

Name: Anonymous 2010-09-26 19:53

Boolean logic is easy.  Learn boolean algebra (you know, the kind of lattice).  It's also easy.

& = meet
| = join
~ = complement
0 = bottom
1 = top

Name: Anonymous 2010-09-26 19:54

>>11
Excuse me, missed a "-" on the 1.  Should read:

-1 = top

Name: Anonymous 2010-09-26 19:55

hufflepuff

Name: Anonymous 2010-09-26 20:01

>>13
hufflepuff my anus

Name: Anonymous 2010-09-26 20:46

>>1
sets the content of the eax register to 0

Name: Anonymous 2010-09-26 20:49

>>15
forgot to mention, fasmfag here.

Name: Anonymous 2010-09-26 21:21

I've read Kleene, author of Kleene Star

Name: Anonymous 2010-09-26 22:52

>>16
Polecat kebabs.

Name: Anonymous 2010-09-26 23:22

>>17
I've included some Kleene stars below if you need extras, I bought too many of them when I was a CS student.

********************************************
***************************************
************
******************************************
**************************************
*******************************************
**********************

Please don't take them if you're not going to use them.

Name: Anonymous 2010-09-26 23:32

>>18
go away, kebabsfag

Name: Anonymous 2010-09-27 0:03

>>19
Are these compatible with my A-star implementation, or do I have to get them retrofitted somehow?

Name: Anonymous 2010-09-27 2:46

I've included some Klein stars but they collapsed

Name: Anonymous 2010-09-27 22:20

niggervaginas

Name: Anonymous 2010-09-27 22:25

>>23
*pussydicks

Name: Anonymous 2010-09-27 22:30

>>24
pussydicks is only correct on a 64-bit machine where eax > 2^32

Name: Anonymous 2010-09-27 23:04

>>25
eax is 32-bits even on x86-64 machines. I believe you are referring to rax, of which eax is the least-significant 32-bit subset.

Name: Anonymous 2010-09-27 23:20

>>26 Thanks for the correction :)

I don't know much about 64 bit processors.

Name: Anonymous 2010-09-28 6:49

>>26
rax my anus

Name: Anonymous 2010-09-28 18:16

Question 2:

~(a xor b) does what?

Name: Anonymous 2010-09-28 19:04

xor, eax eax?
That's bitwise, not boolean. ``faggot''.

Name: Anonymous 2010-09-28 22:39

>>29
~(a ^ b) = (~a) ^ b = a ^ (~b)

Name: Anonymous 2010-09-29 4:50

U MENA xor eax, eax

Name: Anonymous 2010-09-29 5:56

This thread has been closed and replaced with the following thread:

Subject: How do you pronounce ``xor, eax eax''?
Name:
Email:

1. zoreacksecks
2. exclusive-or extended accumulator register extended accumulator register
3. ecks-or ee-ay-ecks ee-ay-ecks (faggot)
4. xudder

Name: Anonymous 2010-09-29 6:17

>>33
3. ecks-or ee-ay-ecks ee-ay-ecks (faggot)
fuck you

Name: Anonymous 2010-09-29 6:34

zor meep meep

Name: Anonymous 2010-09-29 8:41

zoreackseacks

Name: Anonymous 2010-09-29 9:13

cksaw ee-ax ee-ax

Name: Anonymous 2010-09-29 10:58

DERP DERP DERP HURRR DERP NARF EX

Name: Anonymous 2010-09-29 10:59

egsor, ex, ex

Name: Anonymous 2010-09-29 11:00

Shouldn't that read `xor eax, eax' ?

Name: Anonymous 2010-09-29 11:19

>>40
see >>32

Name: Anonymous 2010-09-29 11:50

lea hcul, ver

Name: Anonymous 2010-09-29 13:49

>>42
I lol'd

Name: Anonymous 2010-09-29 14:45

xor ee-ay-ecks, ee-ay-ecks

Name: Anonymous 2010-12-09 4:59

Name: Anonymous 2010-12-17 1:40

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Don't change these.
Name: Email:
Entire Thread Thread List