Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
rr(R)

Homepage E-mail

Berlin, Germany,
07.04.2018, 17:09
 

Ugliest ASM source code ever?! (Developers)

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?

RayeR(R)

Homepage

CZ,
08.04.2018, 19:02

@ rr

Ugliest ASM source code ever?!

Passed through an obfucator? :)

---
DOS gives me freedom to unlimited HW access.

RayeR(R)

Homepage

CZ,
08.04.2018, 19:03

@ RayeR

Ugliest ASM source code ever?!

> Passed through an obfucator? :)

BTW I don't like AT&T ASM but this seems to be even worse...

---
DOS gives me freedom to unlimited HW access.

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