Pass in constraints

This commit is contained in:
Rafał Grodziński
2025-07-14 21:40:18 +09:00
parent 228dd80423
commit 5616036c17
5 changed files with 27 additions and 7 deletions

View File

@@ -20,11 +20,11 @@ i u32 <- 0, rep text[i] != 0:
// text data<u8> <- "Hello world!"
/*addStuff asm<+r, r>: num1 u32, num2 u32 -> u32
/*addStuff asm<"+r, r">: num1 u32, num2 u32 -> u32
add $1, $0
;*/
rawAdd raw
rawAdd raw<"~{ebx}">
//push rbx
mov ebx, 5
//pop rbx