Mercurial > repo
view interps/linguine/bitwise.lng @ 1599:d4535cf1d640
<c00kiemon5ter> printf \'%s\\n\' \'#!/bin/sh\' \'ls -r /var/irclogs/_esoteric/????-??-??.txt | while read -r file; do awk -vs="^..:..:..: <$1>" \'\\\'\'$0 ~ s{x=$0} END{if(!x) exit 1; print x}\'\\\'\' "$file" && break; done\' >bin/seen
author | HackBot |
---|---|
date | Tue, 22 Jan 2013 01:01:10 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
'General bitwise routines 'NOT: -2 = NOT(*-2) 'Programmed by Jeffry Johnston, 2005 '-1=return jump 300[-2|*-2]*-1 'AND: -2 &= *-3 'Programmed by Jeffry Johnston, 2005 '-1=return jump 301[-2|*-3,-2|*-2]*-1 'OR: -2 |= *-3 'Programmed by Jeffry Johnston, 2005 '-1=return jump, -4=temp 302[-2|*-2,-4=*-3,-4|*-4,-2|*-4]*-1 'XOR: -2 ^= *-3 'Programmed by Jeffry Johnston, 2005 '-1=return jump, -4=temp 303[-4=*-3,-4|*-2,-2|*-4,-4|*-3,-2|*-4]*-1 'NOR: -2 = ~(*-2 | *-3) 'Programmed by Jeffry Johnston, 2005 '-1=return jump, -4=temp 304[-2|*-2,-4=*-3,-4|*-4,-2|*-4,-2|*-2]*-1 'XNOR: -2 = ~(*-2 ^ *-3) 'Programmed by Jeffry Johnston, 2005 '-1=return jump, -4=temp 305[-4=*-3,-4|*-2,-2|*-4,-4|*-3,-2|*-4,-2|*-2]*-1 'NEG: -2 = -*-2, -2 = !*-2 'Programmed by Jeffry Johnston, 2005 '-1=return jump 306[-3=*-2,-2=0,-2-*-3]*-1