Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Ugliest ASM source code ever?! (Developers)

posted by rr(R) Homepage E-mail, Berlin, Germany, 07.04.2018, 17:09

Can you top this?

JMPS(S)
=A1= 'Hello World !'
=A2= 0A
=S= AX,B800;ES,AX;AX,3;INT10
CX,(A2-A1);SI,(A1);DI,500
AH,[(A2)]
=L= LODSB;STOSW;LOOP(L)
RET


This was a short example from http://www.evmsoft.net/ru/asm.html.
Another one (from the archive):

  ah,09;dx,(str);int21;ret
=str=   'Hello USSR !!!$'


Now imagine the whole assembler (>32k) is written in this style! The problem is not the syntax itself, although it's different from any other x86 assemblers. But why would anyone format his/her source code like that?

 

Complete thread:

Back to the forum
Board view  Mix view
15318 Postings in 1384 Threads, 254 registered users, 14 users online (0 registered, 14 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum