diff --git a/src/r8asm.cc b/src/r8asm.cc index ff54a06..3331bdf 100644 --- a/src/r8asm.cc +++ b/src/r8asm.cc @@ -156,6 +156,17 @@ r8asm::ast::expand_node_to_ins(const ast_node &node) { /* XOR children[0]: argument + WARNING: argument bigger than ((1< 5(0b101) + when define CELL_SIZE 2, only the last 2 bit will be noticed, + and 5 means 0b01(1) here. + + then the node will be expanded like this: + + flb + ror + ror */ data d = expand_node_to_data(node.children[0]); for (auto i = 0; i < CELL_SIZE; i++) {