Skip to main content
1 of 4
Wheat Wizard
  • 100k
  • 22
  • 282
  • 661

27. Assembly (x64, Linux, as)

.text
  .global _start
_start:
movl $len,%edx
movl $msg,%ecx
movl $1,%ebx
movl $4,%eax
int $0x80
movl $0,%ebx
movl $1,%eax
int $0x80
.data
msg:
.byte 0b110010,0b110110
len = . - msg

Try it online!

Wheat Wizard
  • 100k
  • 22
  • 282
  • 661