This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// value instructions | |
/* Set Value (offset, amount) */ memory[pointer+offset] = amount | |
/* Change Value (offset, amount) */ memory[pointer+offset] += amount | |
// i/o instructions | |
/* Input Byte (offset) */ memory[pointer+offset] = stdin.ReadByte() | |
/* Output Byte (offset) */ stdout.Write(string(memory[pointer+offset])) | |
// looping instructions | |
/* Start Loop (offset) */ pointer += offset; for memory[pointer] > 0 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
777777777777777777777777777777777777777777777777777777777777777777777777777777777 | |
777777777777777777777777777777777777777777777777777777777777777777777777777777777 | |
777777777777777777777777777777777777777777777776777777777777777777777777777777777 | |
777777777777777777777777777777777777777777772977784927777777777777777777777777777 | |
777777777777777777777777777777777777777777747889398877497777777777777777777777777 | |
777777777777777777777769966777777777777777778088888580887927777777777777777777777 | |
777777777777777777776975577377777777777777778888595000488570977777777777777777777 | |
777777777777777777607903808077777777777777720799088880858980973777777777777777777 | |
777777777777777774758808888737777777777777777607807858598870508027777777777777777 | |
777777777777777978509850850747777777777777777773709589888988080574777777777777777 |