[err]202505140012

This commit is contained in:
starcells committed 2026-05-14 00:12:06 +08:00
1 parent d18723c203
commit df4a369b6f
3 files changed
+8 -9

No files matched your search

+4 -4
View File
@@ -1,9 +1,9 @@
inp
.xor 23
.anchor arg1
step
inp
step 1
.xor 34
.anchor arg2
step
step 1
.anchor ans
and arg1 arg2 ans
.tp ans
+3 -4
View File
@@ -10,13 +10,14 @@ btp %1
%macro and 3
.anchor before_and
.tp %1
.tp %1
stp
xor _UNIT_MAX
.xor _UNIT_MAX
btp
.loop
.tp %1
biz
.tp %2
biz
@@ -27,10 +28,8 @@ btp %1
rnz
ror
rnz
.tp %2
ror
rnz
.tp %1
ror
.endloop
+1 -1
View File
@@ -4,7 +4,7 @@
#include "r8asm/r8asm_parse.hh"
int main(int argc, char *argv[]) {
auto lib = read_src("/home/admin/Git/R8ASM/asm/lib.r8asm");
auto lib = read_src("asm/lib.r8asm");
/*
for (auto i : lib.raw_src)
for (auto j : i)