Forgot your password?
typodupeerror

Comment: 6 bytes ! Beat that !!! (Score 1) 582

by bendelo (#31507954) Attached to: Simpler "Hello World" Demonstrated In C

Yours does more than the article did. Yours actually prints hello world. Hers just returned 42. So I am sure you can do even better...

If it just has to return 42...

C:\>debug
-a 0100
0D3D:0100 MOV AH,4C
0D3D:0102 MOV AL,2A
0D3D:0104 INT 21
0D3D:0106
-rcx
CX 0000
:6
-n ben.com
-w
Writing 00006 bytes

-q

C:\>BEN.COM

C:\>echo %ERRORLEVEL%
42

"If a computer can't directly address all the RAM you can use, it's just a toy." -- anonymous comp.sys.amiga posting, non-sequitir

Working...