mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
18 lines
276 B
ArmAsm
18 lines
276 B
ArmAsm
#include "libc/nt/codegen.h"
|
|
.imp gdi32,__imp_BitBlt,BitBlt
|
|
|
|
.text.windows
|
|
.ftrace1
|
|
BitBlt:
|
|
.ftrace2
|
|
#ifdef __x86_64__
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
mov __imp_BitBlt(%rip),%rax
|
|
jmp __sysv2nt10
|
|
#elif defined(__aarch64__)
|
|
mov x0,#0
|
|
ret
|
|
#endif
|
|
.endfn BitBlt,globl
|
|
.previous
|