aboutsummaryrefslogtreecommitdiff
path: root/tests/programs/bareio.zc
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 09:48:11 +0000
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 09:48:11 +0000
commit98f9e13829204d32c7dea8a58f8f11efc2a38550 (patch)
treeb96940376e0f2f306ded70736018afa92f6c0c89 /tests/programs/bareio.zc
parentMerge branch 'worktree-agent-a96a10dc1489688ea' into ccr-0054c02e-dfdvnd (diff)
zc0: byte string types, u/m/d as names, enhancements in asm
bstr locals, globals, parameters and returns are byte strings for + , the comparisons, indexing, slicing, len and put_s; b"..." globals; embed inside a function. u, m and d are ordinary names: a recast is the letter with the star touching it (u*x), tags .u .m .d are accepted on types and bare. an enhancement named inside asm { } emits its opcode. zc0's image of the genome and language server sources is unchanged.
Diffstat (limited to 'tests/programs/bareio.zc')
-rw-r--r--tests/programs/bareio.zc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/programs/bareio.zc b/tests/programs/bareio.zc
index a06ef38..21d2b40 100644
--- a/tests/programs/bareio.zc
+++ b/tests/programs/bareio.zc
@@ -2,7 +2,7 @@ namespace;
include rt;
// bare-metal syscalls: clock, a RAM file, random, and the machine size.
-// zc0 subset, so a run-only image can carry it. names stay off u/m/d.
+// zc0 subset, so a run-only image can carry it.
fn main() {
let buf[16], n, t0, t1, i, fd, r, board[8];
t0 = rt.syscall(6, 0, 0, 0);