ADDR_CPU=0x00
ADDR_GPR=0x01
ADDR_DECODER=0x02
ADDR_RIP=0x03
ADDR_MEMORY_BASE=0x10
ADDR_MEMORY1=0x10
ADDR_MEMORY2=0x11
ADDR_MEMORY3=0x12
ADDR_MEMORY4=0x13
ADDR_INST_JNZ=0x81
ADDR_INST_SHL=0x82
ADDR_INST_SHR=0x83
ADDR_INST_MOV=0x84
ADDR_INST_SWP=0x85
ADDR_INST_ADD=0x86
ADDR_INST_SUB=0x87
ADDR_INST_XOR=0x88
ADDR_INST_AND=0x89
ADDR_INST_LDB=0x8A
ADDR_INST_STB=0x8B
ADDR_INST_INP=0x8C
ADDR_INST_OUT=0x8D
ADDR_INST_NOT=0x8E
ADDR_INST_JRE=0x8F
ADDR_INST_INC=0x90
ADDR_INST_DEC=0x91
ADDR_TESTER=0xff

INST_JNZ=0b00000000
INST_SHL=0b01000000
INST_SHR=0b01100000
INST_MOV=0b00100000
INST_SWP=0b00110000
INST_ADD=0b10000000
INST_SUB=0b10010000
INST_XOR=0b10100000
INST_AND=0b10110000
INST_LDB=0b11000000
INST_STB=0b11010000
INST_INP=0b11100000
INST_OUT=0b11100100
INST_NOT=0b11101000
INST_JRE=0b11101100
INST_INC=0b11110000
INST_DEC=0b11110100
INST_HLT=0b11111111

OP_NIL=0x00
OP_ACK=0xff

MEM_OP_READ=0x00
MEM_OP_WRITE=0x01

HLT=mov NIL,NIL
