bf.inc
veremenko-y_nes-brainmelt/src/bf.inc
.ifndef BF_INC
.define BF_INC

; RAM
.globalzp BF_codePtr, BF_readCallback, BF_ptr
; CODE
.global BF_run

OP_BF_INCP = 0
OP_BF_INCP_MULTI = 1
OP_BF_DECP = 2
OP_BF_DECP_MULTI = 3
OP_BF_INC = 4
OP_BF_INC_MULTI = 5
OP_BF_DEC = 6
OP_BF_DEC_MULTI = 7
OP_BF_PRINT = 8
OP_BF_READ = 9
OP_BF_CONDITION = 10
OP_BF_JMP = 11
OP_BF_END = $FF

BF_RAM_SIZE = $200

.endif