flat assembler
Message board for the users of flat assembler.

Index > DOS > ASCII code and self-displaying

Author
Thread Post new topic Reply to topic
pierre



Joined: 07 Nov 2004
Posts: 10
pierre 26 May 2005, 11:26
Hi,

This generates a self-displaying ASCII only code.
It would make a nice email signature.

VZNNNhb#hd-fXf-@`@`f3D!f1D!UX4

Does anyone know how to make this smaller ?

Code:
    org 100h
; Assumes :
; si = 100h
; bp = 091xxh
        push si
        pop  dx
        dec si
        dec si
        dec si

  push        02362h
  push        02D64h
  pop         eax
  sub         eax, 60406040h
  xor         eax,[si+endpos+3]
  xor         [si+endpos+3],eax
        push    bp
        pop     ax
        db 34h
end1:
endpos = end1-100h
    
Post 26 May 2005, 11:26
View user's profile Send private message Reply with quote
YONG



Joined: 16 Mar 2005
Posts: 7997
Location: 22° 15' N | 114° 10' E
YONG 29 Jun 2005, 15:28
Quote:
; Assumes :
; si = 100h
; bp = 091xxh <== should be 09xxh

The code is kind of cool! Smile

YONG
Post 29 Jun 2005, 15:28
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.