Ping RAY RaY.asm modified

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi again Ray.

Here's the same Ray.asm program with slight modifications.

segment code

start:
mov ax,data
mov ds,ax
mov ax,stack
mov ss,ax
mov sp,stacktop

mov dx,hello
mov ah,9
int 0x21

mov ah,0x3c
mov cx,0
mov dx,files
int 0x21

mov [filehnd],ax

mov ah,0x40
mov bx, [filehnd]
mov cx,msglength
mov dx,hello
int 0x21

mov ah,0x3e
mov bx,[filehnd]
int 0x21

mov ax,0x4c00
int 0x21

segment data

hello db 'Hi! Ray How did I get created Today?','$'
files db 'ray.txt', 0
filehnd db 2
msglength equ 0x24


segment stack stack
resb 64
stacktop:


It's essentially a slightly smaller executable. Smaller by 5 bytes, but
does exactly the same thing as the previous Ray.asm.

Can you tell me what I changed to save 5 bytes more and keep the same
functionality, Ray? [g]

This is one of the reasons why ASM is such an interesting language.



--
Things look bad from over here. Too much confusion and no solution.
Everyone here knows your fear. Your out of touch and you try too much.
Yesterdays glory will help us today. You wanna retire? Get outta the
way. I ain't got much time. Young ones close behind. I can't wait in
line.


Re: Ping RAY RaY.asm modified

Quoted text here. Click to load it
 This MaxBox is designed for teaching..
< http://sourceforge.net/projects/maxbox/?source=directory
it have big library of 220 examples and exercises.

Re: Ping RAY RaY.asm modified


Quoted text here. Click to load it

And this has what to do with the source I posted?

Quoted text here. Click to load it

You still won't find this there. I didn't rip it from anyplace.


--
Things look bad from over here. Too much confusion and no solution.
Everyone here knows your fear. Your out of touch and you try too much.
Yesterdays glory will help us today. You wanna retire? Get outta the
way. I ain't got much time. Young ones close behind. I can't wait in
line.


Re: Ping RAY RaY.asm modified

Quoted text here. Click to load it

To pass you up is why I post it for.....

and he will find more there then you give.

regs.x.ax = 0x2701; int86x(0x2F, &regs, &regs, &sregs);

Re: Ping RAY RaY.asm modified


Quoted text here. Click to load it

pass me up? LOL!
 
Quoted text here. Click to load it

What the fuck are you going on about? this is basic assembler. If you or
Ray really need it all commented, it's a total waste of time for me.
 
 



--
Things look bad from over here. Too much confusion and no solution.
Everyone here knows your fear. Your out of touch and you try too much.
Yesterdays glory will help us today. You wanna retire? Get outta the
way. I ain't got much time. Young ones close behind. I can't wait in
line.


Re: Ping RAY RaY.asm modified

Quoted text here. Click to load it


I was not going to commented at all,
And is it not Ray,
that ask for the Test in the first place,

so he need to get to commenting if he going to pass..

And for your data base,
that contains automatically generated documentation,
Last updated in text, the data base file name ray.txt..

And you right it's a basic assembler,
But do the linker knows where the exe will be?

Text =
.txt;.htaccess;.htpassword;.asc;.bat;
.cat;.csv;.dcl;.decl;.dtd;.ent;.etx;
.f90;.latex;.lcd;.log;.m;.rtf;.rtx;
.soc;.sys;.tex;.text;.tsv;.xsd;

Include =
.inc;.bpr;.cnf;.conf;.fpc;.inf;.ini;.iss;

But the Ray need to know it not (DOS Language),
< http://www.dewassoc.com/support/msdos/dos_commands.htm
we are using but the (x86 assembly language)
< http://en.wikipedia.org/wiki/X86_assembly_language

Re: Ping RAY RaY.asm modified

On 8/5/2012 22:57, Dustin wrote:

Quoted text here. Click to load it

Not Ray, , but if the object is to save bytes, don't move the file
handle to memory. Just mov it to bx and leave it there for the write and
close interrupt. That'll save quite a few bytes and also expensive
memory accesses.

Also,
xor    cx, cx
It's a common way to zero a register, and saves another byte (and maybe
another tick).


Re: Ping RAY RaY.asm modified


Quoted text here. Click to load it

Hi Bill.

You know asm.. So, this material really isn't for you. lol. :)
You're absolutely correct in your suggestions tho.
 
Quoted text here. Click to load it

I know... hehehehe, but this is demo code... It was meant to teach. in
stages. [g]


--
Things look bad from over here. Too much confusion and no solution.
Everyone here knows your fear. Your out of touch and you try too much.
Yesterdays glory will help us today. You wanna retire? Get outta the
way. I ain't got much time. Young ones close behind. I can't wait in
line.


Re: Ping RAY RaY.asm modified

On Sunday, August 12, 2012 3:04:06 PM UTC-4, Dustin wrote:
 
Quoted text here. Click to load it
 
And you don't know ASM.  Does Visual Studio export ASM as IL?  I bet it does. I
have it running right now but I've not bothered to even look...as I could care
less.  But I bet even the free versions can export (I'm running the Pro version
of VS10).

So that's how you 'code' eh Dustbin?  Cut and paste the IL that VS generates.
Clever boy.  And boys will be boys.  Now go back to your room.  Teacher?  Pft.

RL

Re: Ping RAY RaY.asm modified


Quoted text here. Click to load it

I do know asm. I know for a fact visual studio will not export msdos
style 16bit assembler code for anything. It won't be optimized either.
 
Quoted text here. Click to load it

If I was copy/pasting code, Ant wouldn't let me slide on it. He made it
a point to tell you my viruses were all written in asic. Not pure
assembler.

I've made my point tho. You're barely a programmer and most certainly
are NOT a coder of any sort.

Have you figured out how irok does the infection yet?

--
Things look bad from over here. Too much confusion and no solution.
Everyone here knows your fear. Your out of touch and you try too much.
Yesterdays glory will help us today. You wanna retire? Get outta the
way. I ain't got much time. Young ones close behind. I can't wait in
line.


Re: Ping RAY RaY.asm modified

On Tuesday, August 14, 2012 9:06:09 AM UTC-4, Dustin wrote:
  
Quoted text here. Click to load it

No point was made, pointy head.  You failed the challenge.  This forum is your
Waterloo.  You have no cred.  You are a copy and paste script kiddie.

Quoted text here. Click to load it
 
Post that code you withheld from that code you stole and we can discuss more.

RL

Re: Ping RAY RaY.asm modified


Quoted text here. Click to load it

Failed the challenge how? Where did I copy and paste the program from?
 
Quoted text here. Click to load it

From whom did I steal this code? If I stole it, and it's not mine, that
implies another copy exists; surely you can find it and post the url and
prove this absurd troll claim?

We can't discuss much, until you learn the language irok was written in.
You're not doing so well with assembler so far. Maybe we can start with
Asic.. But, I think I'm setting the bar too high here. I posted the
disinfection routine. From that, you should understand how irok works.

Yet, you do not, and continue to request to see source code that isn't
necessary. Source code you accuse me of stealing but have nothing to
back the claim up with. No, fact is, I didn't steal irok. It's mine.
It's why you can't find another copy for study.

You demonstrate a clear understanding of the new ray.asm I was kind
enough to write for you, when I should have been sleeping! and we'll
proceed further.

Wiseass remarks, trolling, etc.. anything but respect and a
demonstration that YOU can keep up so far, are required or more advanced
code won't be of any use to you.. As you won't understand it either.
You're already in over your head.

If you want to see more source code to irok, you must comply with my
requirements. Show me that you understand! what I've shared already.
Let's stop with the dumb shit.

--
There ain't no rest for the wicked. Money don't grow on trees. I got
bills to pay. I got mouths to feed. Ain't nothing in this world for
free. Oh No. I can't slow down, I can't hold back though you know I wish
I could. Oh no there ain't no rest for the wicked, until we close our
eyes for good.




Site Timeline