Re: All is right !
- From: "Wolfgang Kern" <nowhere@xxxxxxxx>
- Date: Mon, 21 Apr 2008 09:03:12 +0200
almas wroter:
Sure, at the last line "you are a comment":)
But i did not found any instruction called Wolfgang :-)
Yes, i coult try to igore errors, so i can shutdown some bytes.Ok.
May be, i will do it, actualy i prefer that the COM file can detect errors
a run correctly
.... / ....
Now, i'm working on an other goal.
The aim is if i have two ascii
between 22h and 2Fh ( i can identify it )
and if the next ascii have same value, i remove it into "~"
Example : (( become ~ ~
but ( * stay (*
### become ~ ~ ~
I try .... and have troubles
If i put ##(*) i obtain ~##(**
or i have in others version ~ ~ ~*)
I fact the next byte keep the value of the byte before.
Not seeing your attempts I can only guess ...
and I'm not sure to understand what it shall do.
A) You like to replace two equal characters with 7eh,20h ("~ ") ?
B) or is your desire to reduce the string size by replacing doubles
with single "~"-bytes ?
Version A) should be simple enough ...
remember the location of the first and write 207eh (endianess!)
to this location if a match occured (advance the pointer by two).
but for B) you also need to move string-parts and adjust its size.
The next step : destroy all the ~
How to destroy a byte ? :)
replace it with 20h? or remove it ?
I spend a large part of saturday and obtain "funny" ; stranges results
Learning by doing can be funny, but it is for sure the right way
for those who like to learn about all details at the lowest level.
Keep on your way! It may sound like a slow way, but what you learn
with this method will remain solid.
__
wolfgang
.
- Follow-Ups:
- Re: All is right !
- From: almas
- Re: All is right !
- References:
- All is right !
- From: almas
- Re: All is right !
- From: almas
- Re: All is right !
- From: Wolfgang Kern
- Re: All is right !
- From: almas
- Re: All is right !
- From: Wolfgang Kern
- Re: All is right !
- From: almas
- Re: All is right !
- From: Wolfgang Kern
- Re: All is right !
- From: Wolfgang Kern
- Re: All is right !
- From: almas
- Re: All is right !
- From: almas
- Re: All is right !
- From: Wolfgang Kern
- Re: All is right !
- From: almas
- All is right !
- Prev by Date: Re: Port binding under linux in ASM
- Next by Date: Re: All is right !
- Previous by thread: Re: All is right !
- Next by thread: Re: All is right !
- Index(es):
Relevant Pages
|