BrainFuck part 6 - 16-bit integers


I/O operations

Reminder : N = [ABCD] with A=B=0 and N = 256*D + C, with cursor on C

What does Print means ? print ASCII char from code N. If N is greater than 255, we won't get into the complex Unicode stuff : let's just display N modulo 255 (C)

What does Read means ? read ASCII char from input. As it is always less or equal to 255, let's say the C part is read while the D part is equal to 0 (reset)

Operation8-bit version16-bit versionComments
Write..write C (D does not matter)
Read,,>[-]<read C and reset D
Create your playground on
This playground was created on, our hands-on, knowledge-sharing platform for developers.
Go to