Talk:Execute Brain****/x86 Assembly: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Something weird: new section)
(No difference)

Revision as of 09:21, 13 February 2016

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)