Talk:Execute Brain****/x86 Assembly

From Rosetta Code
Revision as of 09:21, 13 February 2016 by rosettacode>Rdebath (→‎Something weird: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Something weird

$ cat helloworld.b
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-]
<.#>+++++++++++[<+++++>-]<.>++++++++[<+++>-]<.+++.------.--------.[-]>++++++++[
<++++>-]<+.[-]++++++++++.

$ ./x86 helloworld.b
Hello World!
$ cat hell-test.b
>++++++++[-<+++++++++>]<.>[][<-]>+>-[+]++>++>+++[>[->+++<<+++>]<<]>-----.
>->+++..+++.>-.<<+[>[+>+]>>]<--------------.>>.+++.------.--------.>+.>+.
$ bf hell-test.b
Hello World!
$ ./x86 hell-test.b
Hekkn World!
$ wget -q -O x86-test.b https://github.com/rdebath/Brainfuck/raw/master/bitwidth.b
$ bf x86-test.b
Hello World! 255
$ ./x86 x86-test.b
Hello$Zombie!
$

It's buggy, but not in any way I've seen before Rdebath (talk) 09:21, 13 February 2016 (UTC)