Anonymous user
Use another language to call a function: Difference between revisions
Use another language to call a function (view source)
Revision as of 06:21, 26 October 2021
, 2 years agoIt is what it is -_-
(Added Wren) |
(It is what it is -_-) |
||
Line 2,123:
Here am I
</pre>
=={{header|X86-64 Assembly}}==
===UASM 2.52===
<lang asm>
option casemap:none
Query proto :qword, :qword
.data
szstr db "Here am I",0
.code
Query proc Data:qword, len:qword
mov r9, Data
mov r8, len
mov r10d, sizeof(szstr)
cmp r10, r8
ja _err
mov ecx, r10d
mov rdi, r9
mov rsi, offset szstr
rep movsb
mov rax, r8
mov dword ptr [rax], r10d
mov eax, 1
ret
_err:
mov rax,0
ret
Query endp
end
</lang>
=={{header|zkl}}==
|