1scope | def | assign | compare | jump | os | macro
; --------------------------------------------------
; Generated with river compiler 1.0
; Targeting x64_win with assembler nasm 2.15.05
; nasm -fwin64 untitled.asm && gcc untitled.obj
; --------------------------------------------------
global
main
extern
malloc, printf
section
.text
main:
sub
rsp, 28h
mov
rcx, 0
call
malloc
add
rsp, 28h
mov
r12, rax
j0:
j1:
ret
section
.data
message:
db
"%d", 0x0a