Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #3907

Re: Block swapping

From wolfgang kern <nowhere@never.at>
Newsgroups comp.os.msdos.programmer
Subject Re: Block swapping
Date 2020-08-13 09:00 +0200
Organization KESYS-development
Message-ID <rh2odv$1cl0$1@gioia.aioe.org> (permalink)
References (7 earlier) <e275jflth9rd4c73lvq687j51d9tj4pt83@4ax.com> <rgvtfe$16sh$1@gioia.aioe.org> <i0p7jfld7ktbbj4qdlrl5ie7ng15v2udi8@4ax.com> <rh27pl$p5l$1@gioia.aioe.org> <0aa9jfln7irnm9n7brc70njiiuo7tcmtn6@4ax.com>

Show all headers | View raw


On 13.08.2020 05:00, T. Ment wrote:
> On Thu, 13 Aug 2020 04:16:21 +0200, wolfgang kern wrote:
> 
>>> IDK what you're talking about, but it's not what I'm talking about.
> 
>> You mentioned "16 bytes"...
> 
> Chappell's unit size is 16 bytes. But the algorithm works with any unit
> size.
> 
> http://kevingong.com/Math/BlockSwapping.html
> 
> Algorithm 3
> 
> If you jumped into the middle of this thread and thought it was about
> something else, or want to talk about something else, you can stop now.

OMG, I looked at it and why use easy words when it can be expressed as 
complicated as possible ? :)

swap:   :assume cx holds size
  mov  AL,[S_1]
  xchg AL,[S_2]
  mov  [S_1],AL
  inc S_1
  inc S_2
  loop swap

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Block swapping T. Ment <t.ment@protocol.invalid> - 2019-10-10 19:33 +0000
  Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2019-10-11 16:41 +0000
  Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-07-18 19:12 +0000
    Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-07-18 19:14 +0000
    Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-07-19 03:06 +0000
    Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-07-19 18:08 +0000
      Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-08-09 15:51 +0000
        Re: Block swapping wolfgang kern <nowhere@never.at> - 2020-08-10 08:15 +0200
          Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-08-10 11:28 +0000
            Re: Block swapping wolfgang kern <nowhere@never.at> - 2020-08-11 08:59 +0200
              Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-08-11 13:40 +0000
                Re: Block swapping wolfgang kern <nowhere@never.at> - 2020-08-12 07:07 +0200
                Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-08-12 12:49 +0000
                Re: Block swapping wolfgang kern <nowhere@never.at> - 2020-08-13 04:16 +0200
                Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-08-13 03:00 +0000
                Re: Block swapping wolfgang kern <nowhere@never.at> - 2020-08-13 09:00 +0200
                Re: Block swapping T. Ment <t.ment@protocol.invalid> - 2020-08-13 13:09 +0000

csiph-web