Skip to main content
like actually use the s flag
Source Link
MD XF
  • 14.2k
  • 5
  • 70
  • 108

MachineCode on x86_64, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online!Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

MachineCode on x86_64, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

MachineCode on x86_64, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

added 10 characters in body
Source Link
MD XF
  • 14.2k
  • 5
  • 70
  • 108

MachineCode on x86_64, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

MachineCode, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

MachineCode on x86_64, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

deleted 65 characters in body
Source Link
MD XF
  • 14.2k
  • 5
  • 70
  • 108

MachineCode, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online! (that should work)Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

MachineCode, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online! (that should work)

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

MachineCode, 125 bytes

4889f8c60748c6470165c647036cc647026cc647046fc647052cc6470620c6470757c647086fc6470972c6470a6cc6470b64c6470c21c6470d00c3 sbrk() 

Requires string output via the s flag. Try it online!

This language works like so:

  • The first line is machine code. This is translated to a C function.
  • The second line is C code. It specifies the arguments to the function created in line 1.
  • A command-line argument specifies how the function's return value is used.

So, the machine code is equivalent to:

char *a(char *s) { s[0]='H'; s[1]='e'; s[2]=s[3]='l'; s[4]='o'; s[5]=','; s[6]=' '; s[7]='W'; s[8]='o'; s[9]='r'; s[10]='l'; s[11]='d'; s[12]='!'; s[13]=0; return s; } 

I generated the machine code via my C lambda script.

added 82 characters in body
Source Link
MD XF
  • 14.2k
  • 5
  • 70
  • 108
Loading
Source Link
MD XF
  • 14.2k
  • 5
  • 70
  • 108
Loading