Back
Close

BrainFuck part 6 - 16-bit integers

DPAmar
1,984 views

Move operations

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

What does Move left means ? Go to previous memory cell. With our 4-cell-long memory integers, it means move 4 times.

What does Move right means ? Go to next memory cell. With our 4-cell-long memory integers, it means move 4 times.

Operation8-bit version16-bit versionComments
Move left<<<<<Move 4 times
Move right>>>>>Move 4 times

Current operation map

Operation8-bit version16-bit versionComments
Write..write C (D does not matter)
Read,,>[-]<read C and reset D
Move left<<<<<Move 4 times
Move right>>>>>Move 4 times
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants