We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faef22d commit 4db37e8Copy full SHA for 4db37e8
1 file changed
port/wch/ch32v/src/cpus/main.zig
@@ -310,7 +310,7 @@ pub const startup_logic = struct {
310
\\ addi a1, a1, 4
311
\\ blt a1, a2, clear_bss_loop
312
\\clear_bss_done:
313
- );
+ ::: .{ .x10 = true, .x11 = true, .x12 = true });
314
315
// Copy .data from FLASH to RAM.
316
asm volatile (
@@ -325,7 +325,7 @@ pub const startup_logic = struct {
325
326
\\ bne a1, a2, copy_data_loop
327
\\copy_done:
328
+ ::: .{ .x10 = true, .x11 = true, .x12 = true, .x13 = true });
329
}
330
331
export fn _reset_vector() linksection("microzig_flash_start") callconv(.naked) void {
0 commit comments