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 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?

---
Forum admin

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum