202605041601

This commit is contained in:
starcells committed 2026-05-04 16:01:22 +08:00
1 parent 2732990e75
commit 1bde438a57
1 file changed
+11 -3
+11 -3
View File
@@ -10,12 +10,20 @@ int main() {
R8Instruction{rot8_bytecode::INP},
// To make clang-format distribute all instructions into diffirent
// lines.
{r8asm_macro("STEP"), {15}},
{rot8_bytecode::STP},
{r8asm_builtin::XOR, 255},
{rot8_bytecode::BTP},
{r8asm_builtin::LOOP},
{rot8_bytecode::BIZ},
{rot8_bytecode::FLB},
{rot8_bytecode::RNZ},
{rot8_bytecode::ROR},
{rot8_bytecode::OUT},
{r8asm_builtin::ENDLOOP},
};
auto out_tape = r8asm_tape_out(expand_macros(ins));
// for (auto i : out_tape)
// std::cout << ROT8_BC_TO_CHAR(i);
for (auto i : out_tape)
std::cout << ROT8_BC_TO_CHAR(i);
return (0);
}