From 0f26e1d204d3a3026ca3edfc4c6bd9638b2632e7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 31 Jul 2019 22:29:24 +0200 Subject: Add nullable, add bytecode documentation --- include/bytecode/bytecode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/bytecode/bytecode.h') diff --git a/include/bytecode/bytecode.h b/include/bytecode/bytecode.h index 32488cc..4c54fbd 100644 --- a/include/bytecode/bytecode.h +++ b/include/bytecode/bytecode.h @@ -11,7 +11,7 @@ /*doc(Opcode) Variable length opcodes. Sizes range from 1 to 4 bytes. # Instruction formats - Instructions can be in 6 different formats: + Instructions can be in 7 different formats: 1. 1 byte: Opcode(u8) 2. 2 bytes: Opcode(u8) + register(u8) 3. 3 bytes: Opcode(u8) + register(u8) + register(u8) -- cgit v1.2.3