diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-03-24 18:56:33 +0100 |
|---|---|---|
| committer | czjstmax <jstmaxlol@disroot.org> | 2026-03-24 18:56:33 +0100 |
| commit | ba9158050cc458f5db7fd2e4d091e70487e06554 (patch) | |
| tree | c1297e87b79a7e746f58c33fa2072efc3286445b /asm_print.c | |
| parent | bb95882bc1a97c6e83d7c40a67d7812305ec125f (diff) | |
test commit
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'asm_print.c')
| -rw-r--r-- | asm_print.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/asm_print.c b/asm_print.c index 161249e..ccd610e 100644 --- a/asm_print.c +++ b/asm_print.c @@ -3,7 +3,8 @@ void dprint(const char* str); -int main(void) { +int main(void) +{ const char* message = "Hello, World!"; dprint(message); @@ -11,7 +12,8 @@ int main(void) { return 0; } -void dprint(const char* str) { +void dprint(const char* str) +{ size_t len = strlen(str); asm volatile ( |