202607291656

This commit is contained in:
starcells committed 2026-07-29 16:56:12 +08:00
1 parent 564c90479c
commit e2091dbd78
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ r8asm_data read_opr(R8Operand arg,
void expand_xor(std::vector<rot8_bytecode> &tape, R8Operand arg) {
r8asm_data real_arg = read_opr(arg);
for (r8asm_cell_size i = 0; i < CELL_SIZE; i++) {
for (r8asm_cell i = 0; i < CELL_SIZE; i++) {
if ((real_arg & 1) == 1)
tape.push_back(rot8_bytecode::FLB);
tape.push_back(rot8_bytecode::ROR);
+2 -2
View File
@@ -1,6 +1,6 @@
#include "r8asm/r8asm_core.hh"
r8asm_cell_size CELL_SIZE = DEFAULT_CELL_SIZE;
r8asm_mem_size rot8_dataptr = 0;
r8asm_cell CELL_SIZE = DEFAULT_CELL_SIZE;
r8asm_mem rot8_dataptr = 0;
std::map<std::string, r8asm_label> r8asm_labelmap = {{std::string("main"), 0}};
std::map<std::string, r8asm_data> r8asm_datamap = {